With GitHub, you can store and collaborate on code. Accounts allow you to organize and control access to that code. There are three types of accounts on GitHub.
- Personal accounts
Every person who uses GitHub signs into a personal account. An organization account enhances collaboration between multiple personal accounts, and an enterprise account allows central management of multiple organizations.
Every person who uses GitHub.com signs into a personal account. Your personal account is your identity on GitHub.com and has a username and profile. For example, see @octocat's profile.
Your personal account can own resources such as repositories, packages, and projects. Any time you take any action on GitHub.com, such as creating an issue or reviewing a pull request, the action is attributed to your personal account.
Each personal account uses either GitHub Free or GitHub Pro. All personal accounts can own an unlimited number of public and private repositories, with an unlimited number of collaborators on those repositories. If you use GitHub Free, private repositories owned by your personal account have a limited feature set. You can upgrade to GitHub Pro to get a full feature set for private repositories. 更多信息请参阅“GitHub 的产品”。
Tip: Personal accounts are intended for humans, but you can create accounts to automate activity on GitHub. This type of account is called a machine user. For example, you can create a machine user account to automate continuous integration (CI) workflows.
Most people will use one personal account for all their work on GitHub.com, including both open source projects and paid employment. If you're currently using more than one personal account that you created for yourself, we suggest combining the accounts. 更多信息请参阅“合并多个用户帐户”。
Organizations are shared accounts where an unlimited number of people can collaborate across many projects at once.
Like personal accounts, organizations can own resources such as repositories, packages, and projects. However, you cannot sign into an organization. Instead, each person signs into their own personal account, and any actions the person takes on organization resources are attributed to their personal account. Each personal account can be a member of multiple organizations.
The personal accounts within an organization can be given different roles in the organization, which grant different levels of access to the organization and its data. All members can collaborate with each other in repositories and projects, but only organization owners and security managers can manage the settings for the organization and control access to the organization's data with sophisticated security and administrative features. For more information, see "Roles in an organization" and "Keeping your organization secure."
Even if you're a member of an organization that uses SAML single sign-on, you will still sign into your own personal account on GitHub.com, and that personal account will be linked to your identity in your organization's identity provider (IdP). For more information, see "About authentication with SAML single sign-on" in the GitHub Enterprise Cloud documentation
However, if you're a member of an enterprise that uses Enterprise Managed Users, instead of using a personal account that you created, a new account will be provisioned for you by the enterprise's IdP. To access any organizations owned by that enterprise, you must authenticate using their IdP instead of a GitHub.com username and password. For more information, see "About Enterprise Managed Users" in the GitHub Enterprise Cloud documentation.
You can also create nested sub-groups of organization members called teams, to reflect your group's structure and simplify access management. 更多信息请参阅“关于团队”。
All organizations can own an unlimited number of public and private repositories. You can use organizations for free, with GitHub Free, which includes limited features on private repositories. To get the full feature set on private repositories and additional features at the organization level, including SAML single sign-on and improved support coverage, you can upgrade to GitHub Team or GitHub Enterprise Cloud. 更多信息请参阅“GitHub 的产品”。
If you use GitHub Enterprise Cloud, you have the option to purchase a license for GitHub Advanced Security and use the features on private repositories. 更多信息请参阅“关于 GitHub Advanced Security”。
For more information about how you can try GitHub Enterprise Cloud for free, see "Setting up a trial of GitHub Enterprise Cloud."
For more information about all the features of organizations, see "About organizations."
GitHub Enterprise Cloud and GitHub Enterprise Server include enterprise accounts, which allow administrators to centrally manage policy and billing for multiple organizations and enable innersourcing between the organizations. For more information, see "About enterprise accounts" in the GitHub Enterprise Cloud documentation.