Host Your Own Git Repository Posted on December 22, 2008 by Dave Fowler
Today I set up a git repository on our dev server. If you have some cash and don't want to deal with hosting and backing up the repo yourself I recomend you check hosting services such as github. But, if you are like me and have more servers than cache you'll want to set up your own git host.
I played with a few different tutorials and found this one by Garry Dolley to be the best.
Hosting Git repositories, The Easy (and Secure) Way
Its very straight forward and worked for me right away as instructed. I have no additions/corrections of my own to make. It uses a clever and secure hosting software called Gitosis. From the article "we're using Git to host the configuration file and keys that in turn define how our Git hosting behaves. That's just plain cool. " It is plain cool. Check it out.