Install it with
sudo apt-get install git (see here)
Configure Git (see here)
Implement SSH on GitHub/BitBucket
Generate the SSH key with
ssh-keygen -t rsa -b 4096 (see here)
Copy the content of your public SSH key, it is the file
id_rsa.pub by default
Paste the content into your GitHub/BitBucket account on the SSH key section
Get the repo
Just clone it:
For more information managing a repo, take a look at the Git For Humans guide.
You can install git-gui which is a built-in GUI tool for commit.
For more options, take a look at the list on the official page.
Big thanks to this blog author