Ubuntu Git install
How To Install and Set Up Git on Ubuntu
https://phoenixnap.com/kb/how-to-install-git-on-ubuntu
sudo apt update
sudo apt install git -y
git --version
Managing your personal access tokens
https://docs.github.com/en/enterprise-server@3.9/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens
Create and store your GitHub personal access token
https://www.pragmaticlinux.com/2023/05/create-and-store-your-github-personal-access-token/
nano ~/.git-credentials
Next, enter the following on the first line. Make sure to replace user with your account’s username and pass with your personal access token:
https://user:pass@github.com
git config --global credential.helper store
git config --global user.email "you@example.com"
git config --global user.name "Your Name"