参考网站: https://www.cnblogs.com/dee0912/p/5815267.html 未测试
https://blog.csdn.net/martinwangjun/article/details/78780885
以上linux创建完git用户后,还需要设置git的密码。(https://blog.csdn.net/nian1035868500/article/details/79889975)
错误处理:
(1)github上传时出现error: src refspec master does not match any解决办法
https://blog.csdn.net/xl_lx/article/details/80676208
touch README
git add README
git commit -m 'first commit
git push origin master