$ ssh-keygen -t rsa -b 4096 -C "YOUR_GITHUB_EMAIL"
# C:\Users\Admin\.ssh\config
#GITHUB_USERNAME
Host YOUR_ACCOUNT_NAME.github.com
HostName github.com
User git
IdentityFile ~/.ssh/GITHUB_USERNAME
git@GITHUB_USERNAME.github.com:GITHUB_USERNAME/repository_name.git
$ git commit --amend -m "NEW_COMMIT"
$ git push --force origin main
# Checking current remote URL
git remote -v
# Set new URL
git remote set-url origin git@NEW_GITHUB_USERNAME.github.com:NEW_GITHUB_USERNAME/NEW_REPOSITORY_NAME.git