How to Switch to the Last Branch in Git - A Shortcut Published Thu, Aug 18, 2022 by Muhammad Asfour Estimated reading time: 1 min Here’s a shortcut to switch to the last branch in git: git checkout -