Quickly switch between recent branches in Git

1 · Amit Merchant · May 15, 2021, 12:48 p.m.
When working on projects, it’s often a case when you would find yourself dabbling between different branches. Maybe you’re working on different features simultaneously or you’re keeping your feature branch up-to-date with your master/main branch. You would need to switch between branches in any of the cases. For instance, let’s say I’m currently on the master branch and I have a feature branch called ui-improvements that I want to work on. To switch to this branch, I would use git checkout like ...