https://softwaredoug.com/blog/2022/11/09/idiot-proof-git-aliases.html

Idiot proof git

I’m an idiot. And git is hard. A lot of places use a rebase-based Git workflow, and I’ve made git less hard with a set of handy aliases. Put these in your ~/.gitconfig and turn git into an actually less painful command line tool to use.