title: How do I add files in Git to the path of a former submodule?
body: <p>I have a project that used to contain a submodule, at path <code>mysubmodule</code>.  I installed the latest Git from source (1.8.3-rc2) and ran <code>git submodule deinit mysubmodule</code>.  I then deleted the <code>.gitmodules</code> file and committed the change.  I also deleted the <code>.git</code> directory from the <code>mysubmodule</code> folder.</p>
  
  <p>I'd like to commit the files from <code>mysubmodule</code> into my repo directly now, but git says there are no changes.  If I type <code>git add mysubmodule</code> it does nothing.  If I type <code>git add mysubmodule/file.txt</code> it says <code>fatal: Path 'mysubmodule/file.txt' is in submodule 'mysubmodule'</code></p>
  
  <p>I've also discovered if you check out a fresh version of the repo, it creates a <code>mysubmodule</code> directory, despite having no <code>.gitmodules</code> file.  And running <code>git submodule init</code> gives you a <code>No submodule mapping found in .gitmodules for path 'mysubmodule'</code> error.</p>
  
  <p>How do I fix this?</p>