Clean up local branches that have been merged into main
git branch --merged main | grep -v main | xargs git branch -d
Change the message of your most recent commit
Apply a specific commit from another branch
Create a new branch and switch to it in one command
Force push only if no one else has pushed in the meantime