git submodule pulling old version code example Example: git pull onbly submodule git submodule update --remote <path to the submodule>