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 “email@example.com”
Confirm that you have set your email address correctly with the following command.
git config –global user.email