Basic git submodule add <repo> [path] git diff --cached --submodule git commit -am "<msg>" Advanced git submodule init git submoudle update