1.出错原因: 服务器没有安装GIT,所以导致出错。
解决办法:
1)Centos下使用:yum install git -y 或者 yum install -y git . (centos6.8)
2)Ubuntu/Debian下使用 : apt-get install git -y