Article version: GitHub.com

Managing email preferences

You can add or change the email addresses associated with your GitHub account. You can also manage emails you receive from GitHub.

Adding an email address to your GitHub account

GitHub allows you to add as many email addresses to your account as you like. If you set an email address in your local Git configuration, you will need to add it to your account settings in order to connect your commits to your account. For more information about your email address and commits, see "Setting your commit email address."

Changing your primary email address

You can change the email address associated with your user account at any time.

Setting a backup email address

Use a backup email address to securely reset your password if you can no longer access your primary email address.

Setting your commit email address

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.

Blocking command line pushes that expose your personal email address

If you've chosen to keep your email address private when performing web-based operations, you can also choose to block command line pushes that may expose your personal email address.

Remembering your GitHub username or email

Are you signing in to GitHub for the first time in a while? If so, welcome back! If you can't remember your GitHub user account name, you can try these methods for remembering it.

Types of emails GitHub sends

There are several types of emails you can receive from GitHub, including notifications, account information, and marketing communications.

Managing marketing emails from GitHub

In addition to notifications and account emails, GitHub occasionally sends marketing emails with news and information about our products. If you unsubscribe from existing marketing emails, you won't be included in future campaigns unless you change your GitHub email settings.

Ask a human

Can't find what you're looking for?

Contact us