etckeeper
Track system configuration files in Git. tldr-pages
On Linux
Linux
Set up a Git repo and perform various setup tasks (run from /etc)
sudo etckeeper initIdentifyCommit all changes in /etc
sudo etckeeper commit messageIdentifyRun arbitrary Git commands
sudo etckeeper vcs statusIdentifyCheck if there are uncommitted changes (only returns an exit code)
sudo etckeeper uncleanIdentifyDestroy existing repo and stop tracking changes
sudo etckeeper uninitIdentify