Ubuntuで最新のgitを入れてみた。
※Ubuntuは15.10
$ sudo add-apt-repository ppa:git-core/ppa
$ sudo apt-get update
$ sudo apt-get install git
$ git --version
git version 2.8.1
尚、add-apt-repository
コマンドがインストールされていない場合は以下コマンドでインストールする。
$ sudo apt-get install software-properties-common