Please folow below steps carefully.
- Open your
bashterminal - 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 keywith the title - Paste the key and add that
- Test you key is working or not by
ssh -T git@github.com