You can set a primary email address on GitHub that's associated with web-based Git operations you perform such as edits and merges. Alternatively, you can choose to keep your personal email address private and use a GitHub-provided
noreply email address for your web-based Git operations.
After changing your commit email address on GitHub, the new address will be visible in all of your future web-based Git operations. Any commits you made prior to changing your commit email address are still associated with your previous email address. If you keep your email address private, you can also set your commit email address in Git to use your GitHub-provided
noreply email address, and block command line pushes that expose your personal email address.
For more information on commit email addresses, including your GitHub-provided
noreply email address, see "About commit email addresses."
- In the upper-right corner of any page, click your profile photo, then click Settings.
In the left sidebar, click Emails.
In "Add email address", type your email address and click Add.
In the "Primary email address" list, select the email address you'd like to associate with your web-based Git operations.
To keep your email address private when performing web-based Git operations, click Keep my email address private.