How to install Git on Ubuntu:
sudo apt-get build-dep git-core git-doc- Download the latest stable release of Git from its web site http://git-scm.com/.
- Unpack the downloaded archive file.
- Go into the unpacked folder.
./configuremake prefix=/usr/local all docsudo make install install-doc- Remove the unpacked folder.
You are now ready to use Git.