在命令行上创建新的存储库
echo "# test" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M master
git remote add origin https://github.com/xxxx/test.git
git push -u origin master
从命令行推送现有存储库
git remote add origin https://github.com/Weizongzi/test.git
git branch -M master
git push -u origin master