title: Git: can't switch to new remote branch
body: <p>I have an account on <code>github</code> and I use it from two different machines. On one, I created a <strong>new branch</strong> <code>myNewBranch</code> and switched to it. Then I did my modifications to my code, I committed and <strong>pushed</strong> to <code>myNewBranch</code>.</p>
  
  <p>On the second machine, I can't figure out how to push to it.</p>
  
  <pre><code>$ git pull origin myNewBranch
  From https://github.com/myUsername/myProject
   * branch            myNewBranch -&gt; FETCH_HEAD
  Already up-to-date.
  </code></pre>
  
  <p><em>[ I had already successfully pulled from it]</em></p>
  
  <p>Then I try to switch to it, but I get an error:</p>
  
  <pre><code>$ git checkout myNewBranch
  error: pathspec 'myNewBranch' did not match any file(s) known to git.
  </code></pre>
  
  <p>What am I missing?</p>