I'm not experienced with git. I cloned a master branch of a project via
git clone --link--
and now in my git bash window I see: /c/app/project (master)
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 git checkout test
I get error: "error: pathspec 'test' did not match any file(s) known to git.
how can I switch the branch
(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)