Git on CentOS

So CentOS is old and decrepit but if you have to use it and need git, here you go:

    sudo rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
    sudo yum -y install --enablerepo=webtatic git

And while you’re at it:

    sudo yum -y install vim-common vim-minimal