Think about Git submodules as managing nested repositories. You have an outer (parent) repository and one or
more inner (child) repositories. The child repositories are called submodules. When you register the child
repository as a submodule with the parent repository, it will register the presence of the submodule in a
.gitmodules
file.
This section explains how to create an register a new submodule in your parent repository.