git checkout -
Switch to the branch last checked out
This command will checkout the branch that was checked out immediately before the current one.
When executed repeatedly, this commands allows to quickly alternate between two branches.
Related
git checkout -b <branchname>
git checkout -b <branchname1> <remote>/<branchname2>
git checkout <branchname>
git checkout --<pathname>
git checkout HEAD <pathname>
git checkout --ours <pathname>
git checkout --theirs <pathname>
git checkout -m <branchname>
git checkout --orphan <branchname>
git checkout -b <branchname> <commit>
git checkout -t <remote>/<branchname>