git checkout single submodule code example Example: git pull onbly submodule git submodule update --remote <path to the submodule>