title: error: pathspec 'test-branch' did not match any file(s) known to git
body: <p>I am a new user of Git. I have forked a repository called Spoon-Knife (available for practicing forking with Git). Then, I cloned it locally by running</p>
  
  <pre><code>git clone https://github.com/rohinichoudhary/Spoon-Knife.git
  </code></pre>
  
  <p>This repository contains three branches, i.e.</p>
  
  <ul>
  <li><code>master</code>,</li>
  <li><code>test-branch</code>,</li>
  <li><code>change-the-title</code>.</li>
  </ul>
  
  <p>When I run <code>git branch</code>, it only shows <code>*master</code>, not the remaining two branches. And when I run</p>
  
  <pre><code>git checkout test-branch
  </code></pre>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>error: pathspec 'test-branch' did not match any file(s) known to git.</p>
  </blockquote>
  
  <p>Why is this happening? How can I solve this problem?</p>