git checkout \'another_branch\'
Or
git checkout origin \'another_branch\'
What worked for me is the following:
Switch to the needed branch:
git checkout -b BranchName
And then I pulled the "master" by:
git pull origin master