Branch
List all branches and their upstreams
$ git branch -vv
Quickly switch to the previous branch
$ git checkout -
Get only remote branches
$ git branch -r
Checkout a single file from another branch
$ git checkout <branch> -- <file>
Comments
Related