If you have configured SSH key to your Github account and are still getting the password prompt, make sure your repo URL is in the form
git@github.com:username/reponame.git
as opposed to
https://github.com/username/reponame.git
To see your repo URL, run:
git remote show origin
You can change the URL with:
git remote set-url origin git@github.com:username/reponame.git