Git Switch

Planted on

Have you ever started working on code and suddenly realized that you were on the wrong branch? Git switch for the win!

git switch -c <new-branch>

Creates a new branch and brings your local changes! no conflicts, no stash!