git submodule

Inspects, updates and manages submodules. More information: https://git-scm.com/docs/git-submodule.

git submodule update --init --recursive

git submodule add {{repository_url}}

git submodule add {{repository_url}} {{path/to/directory}}

git submodule foreach git pull