git clone https://github.com/<username>/<repo>.git
git add .
git commit -a -m "message"
git push
ssh-keygen -t ed25519 -C "your_email@example.com"
or
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
copy contents of "/c/Users/YOU/.ssh/sshKey.pub" or "/home/YOU/.ssh/sshKey.pub"
Paste it to "Key" text area
click on "Add SSH key"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
git remote set-url origin git@github.com:<username>/<repo>.git
- now
git push
will work on http cloned repo