git command branch code example
Example 1: branch list in git
git branch -a
Example 2: creating a branch in git
git checkout -b <branch_name>
Example 3: git branch command
git branch <branchname>
(or)
git checkout -b <branchname>
git branch -a
git checkout -b <branch_name>
git branch <branchname>
(or)
git checkout -b <branchname>