title: How to change the remote a branch is tracking?
body: <p>The <code>central</code> repository had to be set up on a new server, so I created a new remote on my local repo, and pushed to that.</p>
  
  <p>But now when I do <code>git pull</code>, it claims I am up to date. It's wrong&mdash;it's telling me about the <em>old</em> remote branch, not the new one, which I know for a fact has new commits to fetch.</p>
  
  <p>How do I change my local branch to track a different remote?</p>
  
  <p>I can see this in the git config file but I don't want to mess things up.</p>
  
  <pre><code>[branch "master"]
      remote = oldserver
      merge = refs/heads/master
  </code></pre>