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