在Terminal中输入git config user.name获取当前的用户名
修改用户名输入 git config --global user.name "用户名" 或者 git config user.name "用户名"