06-Install and Setup git

Git

Git is the command line program for interacting with a git repository

sudo apt install -y git kdiff3
git config --global pull.rebase false
git config --global advice.addIgnoredFile false
git config --global init.defaultBranch main

then configure it

git config --global user.email "yourname@yourdomain.com"
git config --global user.name "Your Name"

for example:

git config --global user.email "danaukes@danaukes.com"
git config --global user.name "Dan Aukes"