cd ~/.sshssh-keygen -t ed25519 -C "your_email@example.com"
# Press Enter to save in default directory
# Enter Password on promptcat < ~/.ssh/id_ed25519.pub
# Copy the outputhttps://github.com/settings/ssh/new
ssh -T git@github.comnano .git/config
#Replace remote "origin" url (which starts with https) with Githhub ssh URL... then save# git init again in the same repo to fix the issue