how to add a git submodule to a repo code example Example: git clone submodule git clone --recurse-submodules