title: git pull fails "unable to resolve reference" "unable to update local ref"
body: <p>Using git 1.6.4.2, when I tried a <code>git pull</code> I get this error: </p>
  
  <pre><code>error: unable to resolve reference refs/remotes/origin/LT558-optimize-sql: No such file or directory
  From git+ssh://remoteserver/~/misk5
   ! [new branch]      LT558-optimize-sql -&gt; origin/LT558-optimize-sql  (unable to update local ref)
  error: unable to resolve reference refs/remotes/origin/split-css: No such file or directory
   ! [new branch]      split-css  -&gt; origin/split-css  (unable to update local ref)
  </code></pre>
  
  <p>I've tried <code>git remote prune origin</code>, but it didn't help.</p>