相关参考:
1、https://blog.csdn.net/xiemanR/article/details/53405556
2、https://blog.csdn.net/LMXQH/article/details/80792135
4、https://www.cnblogs.com/zeq912/p/9995656.html
搭建git服务器:
1、安装git和ssh
sudo apt-get install git
sudo apt-get install openssh-server openssh-client
2、增加git用户管理服务器,设置密码之后一直按回车键即可