1、配置用户信息
git config --global user.name [username]
git config --global user.email [email]
2、查询用户信息
git config --list
3、如果push遇到在输入密码错误后,就会报这个错误
fatal: Authentication failed for
4、解决:如果账号密码有变动 用这个命令,重新输入账号密码
git config --system --unset credential.helper