From my notebook
In the process of create a pre-commit hook for git/github I needed to upgrade my git from the standard package install of 1.7.0 to at least the 1.7.8+ on my Ubuntu 10.04 VM. I googled on how to do this and after sorting through junk results I found an older walkthrough
I decided to just build from source and place the new git in my /usr/local Here is my updated process.
cd ~/Downloads
wget http://git-core.googlecode.com/files/git-1.7.8.2.tar.gz
tar -xvf git-1.7.8.2.tar.gz
sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev
make prefix=/usr/local all
sudo make prefix=/usr/local install
Posted Jan 02, 3:19 PM