title: Git couldn't find remote ref... but I can't either
body: <p>I have an odd problem with Git where somewhere I have some reference to an old branch called <code>2013.rel25</code>, but I have no idea where it is.  This is a branch that was merged and deleted on origin long ago.</p>
  
  <pre><code>C:\project&gt;git pull
  fatal: Couldn't find remote ref refs/heads/2013.rel25
  
  C:\project&gt;git branch -a
  * master
    remotes/origin/HEAD -&gt; origin/master
    remotes/origin/master
  
  C:\project&gt;git remote prune origin
  
  C:\project&gt;git pull
  fatal: Couldn't find remote ref refs/heads/2013.rel25
  </code></pre>
  
  <p>How can I find out what is referencing this dead branch that exists neither locally, or on the remote?  And then, how can I remove or fix the reference so I can go back to pulling from origin/master to local master?</p>
  
  <p><strong>EDIT:</strong> My <code>.git/config</code> file references it specifically as a fetch head.  I guess I'll just remove it manually:</p>
  
  <pre><code>[core]
      repositoryformatversion = 0
      filemode = false
      bare = false
      logallrefupdates = true
      symlinks = false
      ignorecase = true
      hideDotFiles = dotGitOnly
  [remote "origin"]
      url = git@github.com:somebody/project.git
      fetch = +refs/heads/*:refs/remotes/origin/*
      fetch = refs/heads/2013.rel25:refs/remotes/origin/2013.rel25
  [branch "master"]
      remote = origin
      merge = refs/heads/master
  </code></pre>