git create a new branch in git remote code example
Example 1: create new remote branch
git checkout -b <new-branch-name> #Create new branch locally
git push <remote-name> <new-branch-name> #Create new branch remotely
Example 2: creating new branch in git
Create a new branch named issue1.
$ git branch testing