configure git for the first time
git config –global user.name “Yourname”
git config –global user.email “Yourname@gmail.com”
generate a local key
ssh-keygen -t rsa -C “Yourname@gmail.com”
run ssh agent in background
ssh-agent -s
Change file permissions for id_rsa file
chgrp Users ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
test the ssh connection
ssh -T git@github.com