git submodules of a specific branch code example Example: git update submodule recursive git submodule update --init --recursive