To check whether you have an SSH key,

To generate an SSH key,

where [YOUR EMAIL] should be replaced by the email address that you use to log into your GitHub. Hit ENTER key for three times. To re-check whether you have an SSH key,

If you see the two files id_rsa and id_rsa.pub, you are successful in this step.

To start up SSH Agent for private key,

To configure GitHub SSH connection, go to Settings, SSH and GPG keys, and finally New SSH Key. Copy everything from ~/.ssh/id_rsa.pub to the text-box in the setup webpage.

To test Connection,

If you get something like the following, then you are done!

If not, then you can get some help from