git submodule pull on new repo code example
Example 1: git pull with submodules
git pull --recurse-submodules
Example 2: git pull onbly submodule
git submodule update --remote <path to the submodule>
git pull --recurse-submodules
git submodule update --remote <path to the submodule>