create a new branch from terminal code example
Example 1: create branch in git
# Create New Branch And Switch To It
$ git checkout -b myBranchName
Example 2: git create branch
$ vim index.html
$ git commit -a -m 'Create new footer [issue 53]'
# Create New Branch And Switch To It
$ git checkout -b myBranchName
$ vim index.html
$ git commit -a -m 'Create new footer [issue 53]'