Use this command below:
git config --global user.email "YOUR_EMAIL"
It is mentioned in the GitHub official documents Link