Ubuntu 22.04.3 LTS

64 bits / x64

sudo apt-get install git-all

https://github.com/settings/keys

Como gerar chave SSH

https://docs.github.com/pt/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

ssh-keygen -t ed25519 -C "[email protected]"

eval "$(ssh-agent -s)"

ssh-add ~/.ssh/id_ed25519

https://docs.github.com/pt/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account

cat ~/.ssh/id_ed25519.pub

https://github.com/settings/ssh/new

git config --**global** user.email "[email protected]"

git config --global user.name "FIRST_NAME LAST_NAME"

git config --global init.defaultBranch main