I am asked to take clone of project repository from GitHub server.
There are three branches on server: master
, qa
and dev
.
After taking clone to the project, how can I checkout qa
or dev
branch as both the branches are not on my local machine?
I tried the command
git checkout qa
it raised an error
$ git checkout qa error: pathspec 'qa' did not match any file(s) known to git.