Install git from source

Download package git-1.5.3.tar.gz or a higher version.

Move it to the home directory

In the terminal, to verify the package is there, type

ls

To unpack git type

tar zxf git-1.5.3.tar.gz

To enter the newly created directory, type

cd git-1.5.3

To configure git, type

./configure --prefix=/usr

Watch many messages, but no errors.

To compile git, type

make

Watch many messages, but no errors.

To install it, type

sudo make install

Watch many messages, but no errors.

To go back to the home directory, type

cd