title: How to download a branch with git?
body: <p>I have a project hosted on GitHub. I created a branch on one computer, then pushed my changes to GitHub with: </p>
  
  <pre><code>git push origin branch-name
  </code></pre>
  
  <p>Now I am on a different computer, and I want to download that branch. So I tried:</p>
  
  <pre><code>git pull origin branch-name
  </code></pre>
  
  <p>...but all this did was overwrite my master branch with the changes in my new branch.</p>
  
  <p>What do I need to do to properly pull my remote branch, without overwriting existing branches?</p>