1.通过github创建一个git+下载到本地+通过命令行进入git目录
2.git help <command> 【显示用户手册命令描述】
3.git add <filename>【把该文件添加到版本库的索引】
4.git commit -m "描述信息" 【创建一个提交记录】
5.git push 【提交给服务器】
6.git status 【显示工作目录树的状态】
7.git reset --hard HEAD【还原所有未提交的内容】
8.git checkout <filename>【还原一个文件】