Setting your email address for every repository on your computer
Open Terminal (for Mac and Linux users) or the command line (for Windows users).
Set your email address with the following command:
git config –global user.email “firstname.lastname@example.org”
Confirm that you have set your email address correctly with the following command.
git config –global user.email