安装 GIT MACOS 安装命令 brew install git 查看版本 git --version 环境配置 设置用户名 git config --global user.name “Your Name”设置邮箱 git config --global user.email “email@example.com” –global 表示设置全局参数