title: Error in git 'error: pathspec'
body: <p>I am using git to download some files, I did 'git init' then </p>
  
  <pre><code>git pull https://myusername:mypass@github.com/Test/test.git
  </code></pre>
  
  <p>The thing is that I want to change the branch I am now at. From 'master' to 'mybranch'.
  I am executing <code>git checkout 'mybranch'</code> but I am getting this:</p>
  
  <pre><code>error: pathspec 'mybranch' did not match any file(s) known to git.
  </code></pre>
  
  <p>What is the error?</p>