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.

Note: You cannot verify email addresses from disposable domains. If you'd like to keep your email address private, you can use a GitHub-provided noreply email address. For more information, see "About commit email addresses."

For more information on commit email addresses, including your GitHub-provided noreply email address, see "About commit email addresses."

  1. In the upper-right corner of any page, click your profile photo, then click Settings. Settings icon in the user bar
  2. In the left sidebar, click Emails. Emails tab

  3. In "Add email address", type your email address and click Add. Email addition button

  4. Verify your email address.

  5. In the "Primary email address" list, select the email address you'd like to associate with your web-based Git operations. Selection for primary email address

  6. To keep your email address private when performing web-based Git operations, click Keep my email address private. Image of checkbox to keep your email address private

Further reading