cd /etc git init git add . git commit -m 'default config' git remote add ... git push # modify your configs git diff HEAD git commit -m 'yay i changed stuff and i know what i did' git push