xxxxxxxxxx
//Create a New Branch
git checkout -b [name_of_your_new_branch]
//First Push
git push --set-upstream origin [name_of_your_new_branch]
xxxxxxxxxx
git branch # List branches
git branch <branch-name> # Create a new branch
git checkout <branch-name> # Switch to the branch
# or combine creation and switch:
git checkout -b <branch-name>
git push -u origin <branch-name> # Push the branch to the remote
mefiz.com