I configure my global ~/.gitconfig properties user.name and user.email like this:
~/.gitconfig
user.name
user.email
git config --global user.em