This is how I currently auto-push changes to my work/lab journal repo. It works across multiple systems with minimal clashes (in part because I don't switch devices or edit journal in multiple places concurrently, perhaps). $EDITOR takes care of asking me to resolve conflicts (and shows git diff when appropriate).
I've put it here to share and to invite input on how it might be improved.
In reply to https://twitter.com/majorhayden/status/1446179887606386689