Create git submodule Run in terminal git submodule add -b <branch> <source-github-repository-url> <destination-path-within-project> In case the submodule has submodules within: git submodule update --recursive --init
Remove Git Submodules Run in terminal git rm <path-to-submodule> rm -rf .git/modules/<path-to-submodule> git config --remove-section submodule.<path-to-submodule> Example: Open terminal