adding git submodule to the project code example Example: git checkout branch and update submodules git checkout --recurse-submodule