I'm still on Ubuntu and use etckeeper to track changes to /etc. This small script will push it to my own Gitea instance as a backup and online history in case I need it.