git config --global user.email youremail@example.com
#git config can be used to set user-specific configuration values like email, username, file format, and so on.
#The –global flag tells GIT that you’re going to use that email for all local repositories.