A submodule is a repo in another repo.
Étiquette : submodule
In my main git repo, I need to use the same code I developped before for another project. Fortunately, I put this code in a separate repo to be reusable.
Git repo with submodules are practical. But cloning can be disappointing for beginners.