// Example for creating a new branch named myNewBranch git checkout -b myNewBranch // First Push git push --set-upstream origin myNewBranch
$ git checkout -b [name_of_your_new_branch]
// create and checkout new branch in one line git checkout -b new_branch
git checkout -b <branch_name>
# Create New Branch And Switch To It $ git checkout -b myBranchName
$ git branch iss53 $ git checkout iss53
How to create a new branch in git $ git checkout -b good here good is new branch name the line 3 after executing we will go to that branch
git checkout -b <new-branch>