ssh-keygen -t rsa -C "your_email@example.com" cat ~/.ssh/id_rsa.pub
Copy the content in the SSH keys of your Github profile
Test:
ssh -T git@github.com
in your local copy of the repository:
git remote set-url origin git@github.com:username/your-repository.git
Then once you changed something
git commit -am "your comment" git push