First time to play with git,when executing 'git push', it reported 'fatal: xxx/info/refs not found: did you run git update'. After google,I fount it is the password problem. I should use the password that google code server generated, instead of the gmail password. Of cause, we can set google git server accept gmail password.
git quick cmd reference:
(0) Work on your new source code
(1) git add * -- locally add all new files
(2) git commit -a -- locally commit all changes
(3) git push origin master -- commit to remote git server, master branch by default
(4) git pull master -- others can pull the new changes
Reference: