ssh -T git@github.com #Check if you are authenticated via key git remote set-url origin git@github.com:username/repo.git #inside your project