git clone your-git-repo
After ssh-keygen
and add to your github
Host github_adong
Hostname github.com
User git
Port 22
IdentityFile ~/.ssh/adong_github_rsa
git remote remove origin
git remote add origin git@github_adong:org/repo.git
git remote -v
After that, now you can push
git push -u origin head