title: git shallow clone (clone --depth) misses remote branches
body: <p>After cloning a remote repository it does not show any remote branch by -a option. What could be the problem? How to debug it? In this snippet two of the remote branches are not shown: </p>
  
  <pre><code>$ git clone --depth 1 git://git.savannah.gnu.org/pythonwebkit.git
  $ cd pythonwebkit
  $ git branch -a
  * master
    remotes/origin/HEAD -&gt; origin/master
    remotes/origin/master
  $ git --version
  git version 1.8.3.1
  </code></pre>
  
  <p>Tried the same command on another machine, it works well: </p>
  
  <pre><code>$ git clone --depth 1 git://git.savannah.gnu.org/pythonwebkit.git
  Receiving objects: 100% (186886/186886), 818.91 MiB | 3.44 MiB/s, done.
  $ cd pythonwebkit/
  $ git branch -a
  * master
    remotes/origin/HEAD -&gt; origin/master
    remotes/origin/debian
    remotes/origin/master
    remotes/origin/python_codegen
  $ git --version
  git version 1.7.1
  </code></pre>
  
  <p>Tried also cloning another repo, it works well. Though I can try it on this machine again, but it would be better to know what's wrong. </p>
  
  <p>Any suggestions or hints will be more than welcome. </p>
  
  <p>Edit: Answer summary: Since git version 1.8.3.2 the "--depth" and "--no-single-branch" need to be used together to get the same behavior as before. This is deemed a bug fix. </p>