Updated with the latest git release 220.127.116.11
I am using Ubuntu 7.10 Gutsy and use git a lot, the latest version in gutsy repository is 18.104.22.168 but the latest version of Git is 22.214.171.124 so here’s a quick tip for compiling git.
First remove git if you have installed it from repositories:
sudo apt-get remove git git-svn
Then go into a temporary folder where you will download and compile git:
sudo apt-get build-dep git-core
tar xjf git-126.96.36.199.tar.bz2
sudo make install
If you have a dual core CPU and want to use them both to compile faster use make -j2 instead of make
Now enjoy your hand compiled git :)
PS: For git gui I had to to install tk (sudo apt-get install tk).