Obtaining a Source Release

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:

$ wget http://kernel.org/pub/software/scm/git/git-1.6.0.tar.gz
$ tar xzf git-1.6.0.tar.gz
$ cd git-1.6.0

Get Version Control with Git now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.