I have a repository with many brunches and I cloned it.
git clone myproject
cd myproject
Now I wish to switch to branch, other than master
.
How should I do this?
git checkout -b mybranch
doesn't work, it creates new branch with given name instead.