Here we install and set up Git on the server. We also create an SSH key so the server can talk to GitHub without using passwords.
sudo apt-get update
sudo apt install git
If you already had Git installed, make sure it’s a relatively new version – upgrade it to the latest if need be.