You may be alerted to a security incident in the media, such as the discovery of the Heartbleed bug, or your computer could be stolen while you're signed in to GitHub. In such cases, changing your password prevents any unintended future access to your account and projects.
GitHub requires a password to perform sensitive actions, such as adding new SSH keys, authorizing applications, or modifying team members.
After changing your password, you should perform these actions to make sure that your account is secure:
- Enable two-factor authentication on your account so that access requires more than just a password.
Verify all your email addresses. If an attacker added their email address to your account, it could allow them to force an unintended password reset.
Review your account's security history. This provides an overview on various configurations made to your repositories. For example, you can ensure that no private repositories were turned public, or that no repositories were transferred.
- Review the service hooks on your repositories. Service hooks could allow an attacker to intercept pushes made to your repository.
- Make sure that no new deploy keys were created. This could enable outside servers access to your projects.
- Review recent commits made to your repositories.
- Review the list of collaborators for each repository.