# Git Submodules
Submodules are one way of nesting a repository inside another. The other way is to merge the whole tree. See [[Merging Two Repos With Unrelated Histories]].
To add a submodule call
`git submodule add <path to submodule repo> <path to the folder which will contain the module>`