Password requirements for GitHub

2 requirements for GitHub account password on their website and mobile apps:

  • Your password must be at least 8 characters long, if it includes a number and uppercase/lowercase letter
  • 15 characters long with any combination of characters

There are no other password requirements like special characters or any other special combinations.

GitHub Password Tips

  • Use a password manager, such as LastPass or 1Password, to generate a password of at least 15 characters.
  • Generate a unique password for GitHub. If you use your GitHub password elsewhere and that service is compromised, then attackers or other malicious actors could use that information to access your account on GitHub.com.
  • Configure two-factor authentication for your personal account.
  • Never share your password, even with a potential collaborator. Each person should use their own personal account on GitHub.
  • When you type a password to sign in, create an account, or change your password, GitHub will check if the password you entered is considered weak according to datasets like HaveIBeenPwned.

Rating

We rate GitHub password requirements strength with 4 of 5 locks.