git submodule pull branch code example Example: git update submodule recursive git submodule update --init --recursive