commit && push new commit reference to main project
Gotchas
Git doesn't automatically checkout master branch on switching between branches on your main project.
Git doesn't delete removed or renamed submodules, so after switching branches old submodules may re-appear and want to be re-added. Just delete the old ghost-directory again and make sure to merge submodule changes to all branches.