I regularly switch between exactly two things while working, a “current” and an “alternate” item; a lot of tools I use seem to support this flow. git Pass - to git-checkout to switch to the previously active branch: $ git branch* foobar$ git checkout bar$ git branchfoo* bar$ git checkout -$ git branch* foobar bash - cd This may not be exclusive to bash: ~/foo $ cd ~/bar~/bar $ cd -~/foo $ This is especially handy in combination with my git-worktree flow: ~/main-branch $ gwj feature~/f...