查看git版本
git --version
命令输出

查看git的配置信息
git config -l
或
git config --list
命令输出


查看git具体某个配置信息
git config user.name
命令输出

查看git远程库地址
git remote -v
命令输出

修改git的配置信息
git config --global user.name "dengyunshuo"
git config user.name
命令输出


转载于:https://blog.51cto.com/suyanzhu/1907098