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.