How to add a PPA to the Ubuntu system using the terminal

Step-by-step instructions how to add a PPA (Personal Package Archive) to Ubuntu using the terminal.

Step 1: 
Add the repository to Ubuntu

sudo add-apt-repository ppa:application-name-repository

Step 2: 
Update package manager

sudo apt-get update

Step 3: 
install the program you're looking for

sudo apt-get install application-name