title: How to fix broken submodule config in git?
body: <p>I'm hitting this git error with sub module creation. I initial had a bad URL in the command, now any additional runs show this error. Any ideas on what is wrong?</p>
  
  <pre><code>$ git submodule add -f https://github.com/Shougo/vimproc.vim.git .vim/bundle/vimproc
  Adding existing repo at '.vim/bundle/vimproc' to the index
  fatal: Not a git repository: .vim/bundle/vimproc/../../../.git/modules/.vim/bundle/vimproc
  Failed to add submodule '.vim/bundle/vimproc'
  </code></pre>