# create new branch and switch to that new branch.$ git checkout -b feature-branch
# push new branch to remote repository, and if there is no remote branch, it will be created automatically.$ git push origin feature-branch:feature-branch
rebase
# in case of forcing push override other's workgit pull origin [current working branch]git checkout mastergit pull origin mastergit checkout [current working branch]git rebase master# if you have already pushedgit push --force-with-lease origin [current working branch]