$ sudo apt-get install openssl libssl-dev libcurl4-openssl-dev libcurl3 libexpat-dev gettext
$ git clone git://git.kernel.org/pub/scm/git/git.git
$ make prefix=/usr/local all (编译)
$ sudo make prefix=/usr/local install (安装)
$ sudo apt-get install openssl libssl-dev libcurl4-openssl-dev libcurl3 libexpat-dev gettext
$ git clone git://git.kernel.org/pub/scm/git/git.git
$ make prefix=/usr/local all (编译)
$ sudo make prefix=/usr/local install (安装)