Git 安装使用教程 1 下载 官网: https://git-scm.com/downloads 2 安装 centOS(Linux) : yum install git macOS: brew install git 3 使用 在Mac、Linux 终端显示 Git 当前所在分支 Mac: mac git 的安装 及实现自动补全 如何撤销第一次提交的 git commit