Some Global Configuration for Git

To configure your username to be used by Git, type the following at the prompt of your Terminal: 

git config --global --add user.name "Your Name"

To configure your email to be used by Git, type the following at the prompt:

git config --global --add user.email <your email address>

You can check your default Git global configuration, you can type the following at the prompt: 

git config --list

See more about global configuration 

Tip: Use the up arrow to see the previous command and modify it.

Exercise

  1. What are the results of the last command?

Solution:

user.name=Your name 
user.email=your email address

If something goes wrong ask for help!!