Please folow below steps carefully.
- Open your
bash
terminal - Type
ssh-keygen -o
- Follow ssh keygen setps
- Go to
/c/Users/<USERNAME>/.ssh
- Type
cat id_rsa.pub
- Copy that key
- Go to the
https://github.com/settings/keys
- Add
New SSH key
with the title - Paste the key and add that
- Test you key is working or not by
ssh -T [email protected]