cd ~/.ssh
ssh-keygen -t ed25519 -C "[email protected]"
# Press Enter to save in default directory
# Enter Password on prompt
cat < ~/.ssh/id_ed25519.pub
# Copy the output
https://github.com/settings/ssh/new
ssh -T [email protected]
nano .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