linux command git branch code example
Example 1: git branch command
git branch <branchname>
(or)
git checkout -b <branchname>
Example 2: how to create a branch in git
$ git branch [name of branch]
git branch <branchname>
(or)
git checkout -b <branchname>
$ git branch [name of branch]