This little python script is a way to keep a server's files in a versioning server like GIT.
It is pretty simple and straight forward.
Make sure git is installed
yum install git
Run the following
git clone git://github.com/opensky/gitsync.git
cd gitsync
python setup.py build
sudo python setup.py install
You can now run the gitsync command
gitsync
Default configs are in the contrib directory. They can be placed in the /etc/gitsync dir.