So take create that branch let’s call it issue123 you’d run:
$ git branch issue123
Note after you run the above command, you’d still be on master. To switch to the created branch you’d run:
$ git checkout issue123
A shorter way to both create a branch and switch to it, run: