title: Clone submodule into directory
body: <p>I'm having an issue with creating a submodule in my project. If I create the submodule directly in the repository root, everything works fine. If the submodule is any deeper, the repository does not get cloned.</p>
  
  <p>For example, this works as expected:</p>
  
  <pre><code>git submodule add git://someproject.com/.git someproject
  </code></pre>
  
  <p>However, when I run the following command, the project is added to <code>.gitmodules</code> and an <em>empty</em> repository is created, but no code is pulled down (even after a <code>git submodule update --init</code>). The command does not produce any output.</p>
  
  <pre><code>git submodule add git://someproject.com/.git lib/someproject
  </code></pre>