Git Repository inside other Git Repository
use “Git Submodules”
see: https://git-scm.com/book/en/v2/Git-Tools-Submodules
Example:
> git submodule add https://url/example.git Target-Folder
Quote:
“Although
is a subdirectory in your working directory, Git sees it as a
submodule and doesn’t track its contents when you’re not in that directory. Instead, Git sees it as a particular commit from that repository.” (https://git-scm.com/book/en/v2/Git-Tools-Submodules)