git branch branch_name <commit-hash> git checkout branch_name git push --set-upstream origin branch_name