Set your name and email for your commit messages
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com
Exclude git tracking UNIX file permissions: Unix file permissions modes (755=rwxrw_rw_, 644=rw_r__r__) - the old mode included the +x (executable) flag, the new mode doesn't. http://code.google.com/p/msysgit/issues/detail?id=164
$ git config core.filemode false
Make Git pretty for git diff
and git status
$ git config --global color.ui true
Set your favorite editor
$ git config --global core.editor emacs
Show your git global settings
$ git config -l