add a submodule to git repo which is synced to main repo code example Example: git clone submodule git clone --recurse-submodules