Down – Installing Git On CentOS

This week I had a SSD tank and I was forced to install a fresh OS. While setting up my workstation, I decided to test VM VirtualBox > VMWare. While I was setting up my VM, I couldn’t grab wget<latest>.tar.gz

I wasn’t sure what was going on so I pinged, no packets returned. I was completely unaware that DNS’s got hacked. Linus released Linux 3.1 on Github and I needed to get git up fast.

Installing Git On CentOS 5.5

Quickly, I checked the  Webtatic repo for git. Add the repo with this line:

[code lang=”bash”]rpm -Uvh[/code]

Next you can install git with one line:

[code lang=”bash”]yum install –enablerepo=webtatic git-all[/code]

Installing Gitolite For Private Repo

Below is the quick install guide for gitolite – for all you that want a private repo. I’m currently installing this on a VM just to test it out. Eventually I will move my repo into a datacenter. For now, I just want a private repo so I can seamlessly push / pull between my desktop and laptop while having redundant backups of my projects.


If you’re comfortable with Unix and ssh, the following steps should work. (However, gitolite has lots and lots of useful features; don’t miss out on them by skipping the excellent documentation!)

  • create a user called git. Login to this user.
  • copy your ssh pubkey from your workstation. Rename it to
  • now run these commands:

[code lang=”bash”]
git clone git://
cd gitolite
gl-setup ~/[/code]

You’re done. Now run git clone git@server:gitolite-admin on your workstation and add users and repos.


Head over to if your looking for further documentation on gitolit. I’m assuming this will be the best for a private git repo. I will update this post with more information once I have my workstation / laptop setup. Come to think of it, I bet I could write a great post about developing between work,  home, and mobile.

Published by


Born and raised in the Pacific Northwest, there are only a few things to do during the rainy season: code, sleep, shred.

One thought on “ Down – Installing Git On CentOS”

Comments are closed.