git diff (this will tell you what changed) git commit -a This way you can keep track of all changes to your config files and you can roll back to any version. You can also do the same thing in your home directory. Once you get comfortable with it you can also use git to back up your files to a remote server.