Go to the previous branch with git checkout July 14, 2021 in git You are used to use cd in the shell (bash, zsh) to change folder then cd - to go back to the folder you were previously in. Good news, git offers a similar shorthand when switching branches. Continue reading