1. git config user.name 查看用户名
git config user.email 查看邮箱
2. git config --global user.name "xxx" 切换用户。
git config --global user.email "xxx" 切换邮箱。