In the upper-right corner of any page, click your profile photo, then click Settings.
In the left sidebar, click Emails.
Under "Backup email address," select the address you want to set as your backup email address using the drop-down menu.
This version of GitHub Enterprise will be discontinued on 2022-09-28. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.
Setting a backup email address
Use a backup email address as an additional destination for security-relevant account notifications and to securely reset your password if you can no longer access your primary email address.