查看用户名

git config user.name

查看邮箱

git config user.email

修改用户名

git config --global user.name "新用户名"

修改邮箱

git config --global user.name "新邮箱"