title: Recursively cloning a git repo doesn't pull submodules
body: <p>I'd like to clone a git repo [1], which has a submodule defined in <code>.gitmodules</code>:</p>
  
  <pre><code>[submodule "PointInCircle"]
          path = PointInCircle
          url = https://github.com/midas-journal/midas-journal-843
  </code></pre>
  
  <p>Following these questions [2-4], I tried:</p>
  
  <pre><code>$ git clone --recursive https://github.com/midas-journal/midas-journal-851
  </code></pre>
  
  <p>If I understand <code>submodule</code>s correctly, which I obviously don't, there should be a directory inside <code>midas-journal-851</code> called <code>PointInCircle</code> with the second repo cloned into it.  However, no <code>PointInCircle</code> directory is created and as far as I can tell the code isn't cloned anywhere.  For good measure, I also tried...</p>
  
  <pre><code>$ git submodule init
  $ git submodule update
  </code></pre>
  
  <p>...as well as...</p>
  
  <pre><code>$ git submodule update --init --recursive
  </code></pre>
  
  <p>...and...</p>
  
  <pre><code>$ git submodule foreach --recursive git submodule update --init
  </code></pre>
  
  <p>...in the cloned directory.  Each command runs without printing anything to the console, and I don't see any changes in the directory.</p>
  
  <p>Any ideas what I'm doing wrong?</p>
  
  <p>[1] <a href="https://github.com/midas-journal/midas-journal-851" rel="nofollow noreferrer">https://github.com/midas-journal/midas-journal-851</a><br>
  [2] <a href="https://stackoverflow.com/questions/25200231/cloning-a-git-repo-with-all-submodules">Cloning a git repo with all submodules</a><br>
  [3] <a href="https://stackoverflow.com/questions/3796927/how-to-git-clone-including-submodules">How to `git clone` including submodules?</a><br>
  [4] <a href="https://stackoverflow.com/questions/24057871/git-submodule-update-init-recursive-vs-git-submodule-foreach-recursive">&#39;git submodule update --init --recursive&#39; VS &#39;git submodule foreach --recursive git submodule update --init&#39;</a></p>