Step 1 Open your git bash terminal (Intall from here https://git-scm.com/downloads)
Step 2 Generate a key pair using ssh-key gen
Step 3 Add the generated private key to you ssh agent with “ssh-add”

Step 4 Login to your github account and navigate to settings

Step 4 On the settings page click on “SSH and GPG Keys” and click on “New SSH key”
Step 5 Add the contents of “.pub” file generated in our 2nd step in “key ” text area and provide a name in the “Title text” and click on “Add SSH key”
Step 6 Your setup is done. Now create a repository and try cloning it with git clone from your git bash terminal,