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