To fetch submodules: git submodule update --init --recursive To update submodules (after commiting to them): git push --recurse-submodules=on-demand