if i create a local branch and push to remote code example
Example 1: git push to branch
# If its your first push
git push -u origin BRANCH
# Otherwise
git push origin BRANCH
Example 2: create local and remote branch
git checkout -b yourBranchName
git push -u origin yourBanchName