Recommended PPA for Ubuntu LTS

Git

sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git git-core git-all

Subversion

sudo add-apt-repository ppa:dominik-stadler/subversion-1.9
sudo apt update
sudo apt install subversion subversion-tools

Mercurial

sudo add-apt-repository ppa:mercurial-ppa/releases
sudo apt update
sudo apt install mercurial

Ruby

sudo add-apt-repository ppa:jonathonf/ruby
sudo apt update
sudo apt install ruby ruby-dev

Redis

sudo add-apt-repository ppa:jonathonf/redis
sudo apt update
sudo apt install redis-server redis-tools