Posted over 6 years ago. Visible to the public.
Git - quickly switch to last branch
cd - command git also has a shortcut to checkout the last branch.
git checkout - switches to the last checked out branch.
% git checkout - Switched to branch 'foo' % git checkout - Switched to branch 'bar'