installing Git
CentOS
Use sudo yum install centos-release-scl && sudo yum install rh-git29 && scl enable rh-git29 bash
to install Git 2.9.
Ubuntu
Use sudo add-apt-repository ppa:git-core/ppa -y && sudo apt-get update && sudo apt-get install git -y
to install from Ubuntu PPA.
licensing
No rights reserved: CC0 1.0.
prior work
- The
ppa:git-core/ppa
PPA and the bulk of the installation script was introduced to me by an answer on Ask Ubuntu by muru. - The bulk of the CentOS installation script was introduced to me by a page on Software Collections.