My repo: https://shadyabhi@github.com/shadyabhi/learnajax.git
shadyabhi@archlinux-N210 ~/github/learnajax $ cat .git/config
[core]
repositoryformatversi
I have hit the same problem just now. Apparently, when you use git in command line, it wants you to enter the access token instead of password. This is really weird, but it works.
$ git push origin HEAD
Username for 'https://github.com': <--- your username here
Password for 'https://t7ko@github.com': <--- access token here O_O
PS: This is the instruction on creating token: https://help.github.com/articles/creating-an-access-token-for-command-line-use