xxxxxxxxxx
# Push newly created local branch to remote
git push --set-upstream origin <branch name>
xxxxxxxxxx
git checkout -b <branch>
git add .
git commit -m "comment"
git push -u origin <branch>
xxxxxxxxxx
# to create a new local branch
git branch <branch-name>
# to push it to the remote repository
git push -u origin <branch-name>