Add Submodules cd to the path you want to add your submodule in run the command git submodule add <repository-url> Update the submodule run the command git submodule update --init --recursive