Git config

So one of the first things you should do once you install Git is to set up its configuration settings. Such items include your name, email, and your default editor, for fixing merge conflicts and updating your commit titles and messages.

To edit your name within Git:

git config --global "NAME"

To edit your email:

git config --global <email>

And to set your default editor:

git config core.editor <editor name>

You may also wish to coerce Git into handling linefeed and character line feed differences, especially if you are working in a team with multiple different operating systems.

To enable this feature:

git config --global core.autocrlf true