git cant pull submodule code example Example 1: git pull with submodules git pull --recurse-submodules Example 2: git pull with submodules git submodule update