Updated with the latest git release 22.214.171.124
I am using Ubuntu 7.10 Gutsy and use git a lot, the latest version in gutsy repository is 126.96.36.199 but the latest version of Git is 188.8.131.52 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-184.108.40.206.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).