Current Git on my system is: 2.25.1 and require Git >= 2.8
https://git-scm.com/download/linux
For Ubuntu, this PPA provides the latest stable upstream Git version
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
git --version
git version 2.37.3
Next…
Configure Git and GitHub
git config --global user.name "Your Name"
git config --global user.email "yourname@example.com"
git config --global init.defaultBranch main
git config --global color.ui auto
git config --get user.name
git config --get user.email
Create a GitHub Account or Sign In
https://github.com/
Create an SSH Key
Verify if an Ed25519 algorithm SSH key already installed
ls ~/.ssh/id_ed25519.pub
If non exists:
ssh-keygen -t ed25519 -C
Accept defaults
Password recommended and not required.
Link Your SSH Key with GitHub
Log into GitHub and click on your profile picture in the top right corner.
Click on Settings in the drop-down menu.
Left-hand side, click SSH and GPG keys
click the green button in the top right corner that says New SSH Key.
Name your key
Leave this window open while you do the next steps.
Copy your public SSH key
cat ~/.ssh/id_ed25519.pub
Highlight and copy the output, which starts with ssh-ed25519 and ends with your email address.
Go back to GitHub in your browser window and paste the key you copied into the key field.
Click Add SSH key.
You’re done! You’ve successfully added your SSH key!
Testing your key
https://help.github.com/en/articles/testing-your-ssh-connection
#turningpro