how to use git branches code example
Example 1: create branch in git
# Create New Branch And Switch To It
$ git checkout -b myBranchName
Example 2: create a branch command
$ git remote add [name_of_your_remote] [name_of_your_new_branch]
Example 3: creating new branch in git
Create a new branch named issue1.
$ git branch testing
Example 4: git liste branches
$ git branch
Example 5: create a branch command
$ git push [name_of_your_new_remote] [url]
Example 6: create a branch command
$ git branch -d [name_of_your_new_branch]