# Submodule ## Add submodule git submodule add git commit -m "Added the submodule to the project." git push git submodule update --init --recursive ## Submodule commit cd git add . git commit -m "Added new commits from the submodule repository" git push ## Submodule summary git config --global status.submoduleSummary true ## Update all submoduels git submodule update --remote --merge ## Remove submodule git rm