If github keep asking for your login and password even if you have copied your ssh public key, this is what you should do !
 
Check your .git/config file :
 
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = https://github.com/login/project.git
[branch "master"]
remote = origin
merge = refs/heads/master
 
If the remote origin's url is formated this way : https://github.com/user/project.git your should replace it with [email protected]:user/project.git