how to check global author git code example Example 1: git check username git config --list Example 2: git config --global user.name "Server" cat .gitconfig