From http://stackoverflow.com/questions/1911109/how-to-clone-a-specific-git-branch Another way to recover a remote branch in local repo
git checkout -b <branch-name> <origin/branch_name>
git remote update origin --prune
git checkout --track origin/<remote branch to fetch>