Not sure of a sensible solution to this, but generally I work on multiple machines (home/office etc...) in the field of web development. But all of which use Ubuntu in some way.

What I would love to do though is have them use the same hosts file, and maybe php.ini or httpd.conf file. It is a pain to setup each time, and some consistancy between machines would be great, reducing the chances of solving the same problem twice.

So my question is, has anyone get any practices/tools which may help me, the best idea I have is to put certain config files into a GIT repo, and link my local setup the checkout of this repo.

Thanks for any sage advice you may have for me,