Create a branch
Use the git branch command to create your first new branch and name it issue1
.
$ git branch issue1
If you do not specify any parameters, the branch command lists all branches corresponding to the repository. The asterisk indicates the active branch.
$ git branch
issue1
* main
Now, the history looks like this:
