title: Git pull fails : unable to update local ref
body: <p>I'm totally messed with my git repository. I can't push / pull remote branch..it disappeared from git extensions...</p>
  
  <p>I use  Git Extensions 2.33 , msysgit  Git-1.7.11-preview20120710.exe</p>
  
  <pre><code>C:\Program Files (x86)\Git\bin\git.exe pull --progress "biometric" +refs/heads/try_merge:refs/remotes/biometric/try_merge
  error: unable to resolve reference refs/remotes/biometric/try_merge: No such file or directory
  From biometric.bmstu.ru:test
   ! [new branch]      try_merge  -&gt; biometric/try_merge  (unable to update local ref)
  Done
  
  
  $git fsck output
  
  error: bad ref for refs/remotes/biometric/try_merge
  </code></pre>
  
  <p>When i try to push something to remote git  thinks that it is a brand new branch for remote repository.
  How can I recover it?</p>
  
  <p>Sorry for bad english.
  Thanks for any help.</p>