title: Git pulling a branch from another repository?
body: <p>I have a local git repository which is a clone of a repository on github. Someone has forked the repository and made changes in a new branch on a new repository. I want to move this new branch into my repository (locally to work on it first before merging with the master).</p>
  
  <p>I tried creating a new branch and then pulling from the forked repository but it complains because the new branch is a copy of the master branch as well as the local file changes, so it says </p>
  
  <p><code>error: Your local changes to the following files would be overwritten by merge</code>.</p>
  
  <p>So how can I pull the branch in the other repository into a new branch on my local repository?</p>
  
  <p>I hope that makes sense. If not, this is my repository: <a href="https://github.com/MatthewLM/cbitcoin" rel="noreferrer">https://github.com/MatthewLM/cbitcoin</a></p>
  
  <p>As you can see, someone has created a new repository with the branch "linuxBuild": <a href="https://github.com/austonst/cbitcoin/tree/linuxBuild" rel="noreferrer">https://github.com/austonst/cbitcoin/tree/linuxBuild</a></p>
  
  <p>I want that branch on my local repository for MatthewLM/cbitcoin.</p>
  
  <p>How can I do this?</p>