Generate ssh-key
$ cd ~/.ssh
$ ssh-keygen -t rsa
Copy key to your clipboard
$ cat <your-key>.pub | pbcopy
Upload public key to Github from here
Edit ~/.ssh/config
Host github github.com
HostName github.com
IdentityFile ~/.ssh/<your-secret-key>
User git
Register your secret-key
$ ssh-add ~/.ssh/<your-secret-key>
Check connection
$ ssh -T git@github.com