1. yum install git2. git version or git –version3. uninstall: git remove 转载于:https://www.cnblogs.com/alex-blog/p/10248056.html