git config --add user.email you@example.com
It is recommended to install [[notepad++]] or [[EditPad Lite]], and use this as an commit message editor, so you won't have line ending mis-match in windows.
 #Windows
 git config --add core.editor "EditPadLite7"
 git config --add core.editor "notepad++"
 #Linux