Try doing git remote -v
.
If your remotes are prefixed with https://
a password will be asked.
You can change over to the ssh
protocol with git remote set-url origin git@github.com:username/repo.git
There is more information in this question and on Github