If you prefer to download the Git code from its canonical source or if you want the latest version of Git, visit Git’s master repository. As of this writing, the master repository for Git sources is http://git.kernel.org in the pub/software/scm directory.
The version of Git described in this book is roughly 1.6.0, but you might want to download the latest revision of the source. You can find a list of all the available versions at http://kernel.org/pub/software/scm/git.
To begin the build, download the source code for version 1.6.0 (or later) and unpack it:
tar xzf git-1.6.0.tar.gz$