git clone http://github ///copy files// git add . git commit -m 'what you say' git push
//如果是新项目 git remote add origin http://github git push -u origin master