git clone submodule only one code example Example: git pull onbly submodule git submodule update --remote <path to the submodule>