`$ git rm-submodule foo/bar` If `foo/bar` is an empty directory, this will delete the superproject's `.git` folder.
$ git rm-submodule foo/barIf
foo/baris an empty directory, this will delete the superproject's.gitfolder.