git config --add user.name "Your Name"
git config --add user.email you@example.com
git config --add core.autocrlf true
It is recommended to install [[EditPad Lite]], and use this as an commit message editor, so you won't have line ending mis-match in windows. Just save after writing the commmit message, and exit the program. The message is committed.