Meet your Keeper
etckeeper is a collection of tools to let you store your precious /etc files in a repository which is updated daily from cron. One can choose git darcs hg bzr. There is very little configuration to do.
Below follows quick step-by-step to set it up with git: Commands_
git config --global user.name ""YOU"" git config --global user.email you@example.com apt-get -y install git-core apt-get install etckeeper cd /etc etckeeper commit ""Initial Commit 20120612.""Verify all is well
git status git log git summaryThe cron runs daily and is in /etc/cron.daily/etckeeper. It integrates with APT. ETCKEEPER is available here, or from most Linux repositories: http://joeyh.name/code/etckeeper/