shortcut to switch to previous branch git code example Example: git go to previous branch git checkout -