title: git switching repository/branches from master
body: <p>I'm not experienced with git. I cloned a master branch of a project via 
  <code>git clone --link--</code> and now in my git bash window I see: <code>/c/app/project (master)</code> so I'm in the master. Now I want to switch to an existing branch (say test) and do a pull to get the latest changes. When I type <code>git checkout test</code> I get <code>error: "error: pathspec 'test' did not match any file(s) known to git.</code> how can I switch the branch</p>
  
  <p>(since this was marked as duplicate, I checked the supposed answer and that did not solve my problem. It seems that I'm unable to move out of the master branch of my project)</p>