https://www.benji.dog/articles/git-config/

Possibly what I’ve been looking for.