git checkout \'another_branch\'
Or
git checkout origin \'another_branch\'
With Git 2.23 onwards, one can use git switch to switch branches.
git switch