Here’s a quick primer I wrote for myself to get git configured on a new computer. All of the options alter your global settings.
Set yourself as the global author
$ git config --global user.name "Antony Jepson"
$ git config --global user.email email@domain.tld
Set your default editor
$ git config --global core.editor vim
Set some abbreviations
$ git config --global alias.st status
$ git config --global alias.ci commit
$ git config --global alias.cim commit -m
$ git config --global alias.br branch
$ git config --global alias.pu push
$ git config --global alias.pl pull