I cloned a Git repository, which contains about five branches. However, when I do git branch I only see one of them:
git branch
$ git branch * master
I usually use nothing else but commands like this:
git fetch origin git checkout --track origin/remote-branch
A little shorter version:
git fetch origin git checkout -t origin/remote-branch