git switch -c: create a branch and switch in one command

Did you know you can create a branch in git and change to it all with a single command? Well, there are actually two commands that can help you do this, but today we are going to talk about git switch . 🤔 git switch is the command for changing branches, so you switch from one branch to another. But there is a little flag you can use to create the branch and then make the switch: -c . C stands for…