GitHub credentials include not only your password, but also the access tokens, SSH keys, and application API tokens you use to communicate with GitHub. Should you have the need, you can reset all of these access credentials yourself.
Requesting a new password
- To request a new password, visit https://www.github.com/password_reset.
Enter the email address associated with your personal GitHub account, then click Send password reset email.
We'll email you a link that will allow you to reset your password. You must click on this link within 24 hours of receiving the email. If you didn't receive an email from us, make sure to check your spam folder.
- After clicking on the link in your email, you'll be asked to enter a new password.
Changing an existing password
- Sign in to GitHub.
- In the upper-right corner of any page, click your profile photo, then click Settings.
In the left sidebar, click Account settings.
Under "Change password", type your old password, a strong new password, and confirm your new password. For help creating a strong password, see "Creating a strong password"
- Click Update password.
For greater security, enable two-factor authentication in addition to changing your password. See About two-factor authentication for more details.
Updating your access tokens
Updating your SSH keys
Resetting API tokens
If you have any applications registered with GitHub, you'll want to reset their OAuth tokens. See the Developer documentation for instructions on how to do this.
Preventing unauthorized access
For more tips on securing your account and preventing unauthorized access, see "Preventing unauthorized access."