Running a Local Git Server
This is a handy technique to use when developing in virtual machines. To
make development easier, I run a local Git server on my Linux host
and install the Git client tools into each of my virtual machine
environments. As I work, I push my Git change sets back up to the host
Git server.
In the event I completely destroy a virtual machine, I merely clone a
fresh virtual machine, and pull the latest code from the host Git
server. In most cases I can be up and running again in minutes. Plus it
helps me keep my code organized in a central location that is easy to
backup. What is not to like?