Maybe the submodules added an index. You must remvoe of the index.
To completely remove a submodule, follow these steps.
1 remove these lines in .git / config
[submodule ".vim/bundle/vimproc"] url = https:
2 delete these lines in .gitmodules
[submodule ".vim/bundle/vimproc"] path = .vim/bundle/vimproc url = https:
3 delete the submodule directory
rm -rf .vim/bundle/vimproc
4 non-stationary submodule
git rm --cached .vim/bundle/vimproc
5 delete the submodule directory in .git / modules
rm -rf .git/modules/.vim/bundle/vimproc
finally a submodule.
source share