This guide will walk you through setting up, configuring and managing your GitHub Team account as an organization owner.
Part 1: Configuring your account on GitHub.com
As the first steps in starting with GitHub Team, you will need to create a personal account or log into your existing account on GitHub, create an organization, and set up billing.
1. About organizations
Organizations are shared accounts where businesses and open-source projects can collaborate across many projects at once. Owners and administrators can manage member access to the organization's data and projects with sophisticated security and administrative features. For more information on the features of organizations, see 关于组织.
2. Creating an organization and signing up for GitHub Team
Before creating an organization, you will need to create a personal account or log in to your existing account on GitHub.com. For more information, see 在 GitHub 上创建帐户.
Once your personal account is set up, you can create an organization and pick a plan. This is where you can choose a GitHub Team subscription for your organization. For more information, see 从头开始创建新组织.
3. Managing billing for an organization
You must manage billing settings, payment method, and paid features and products for each of your personal accounts and organizations separately. You can switch between settings for your different accounts using the context switcher in your settings. For more information, see GitHub计费的工作原理.
Your organization's billing settings page allows you to manage settings like your payment method, billing cycle and billing email, or view information such as your subscription, billing date and payment history. You can also view your included usage and purchase additional metered usage. For more information on managing your billing settings, see 计费入门.
Only organization members with the owner or billing manager role can access or change billing settings for your organization. A billing manager is someone who manages the billing settings for your organization and does not use a paid license in your organization's subscription. For more information on adding a billing manager to your organization, see 为组织添加帐单管理员.
Part 2: Adding members and setting up teams
After creating your organization, you can invite members and set permissions and roles. You can also create different levels of teams and set customized levels of permissions for your organization's repositories, projects, and apps.
1. Managing members of your organization
You can invite anyone to be a member of your organization, as long as they have a personal account on GitHub. You can also remove members and reinstate former members. For more information, see 组织成员管理.
2. Organization permissions and roles
Each person in your organization has a role that defines their level of access to the organization. The member role is the default, and you can assign owner and billing manager roles as well as "team maintainer" permissions. For more information, see 组织中的角色.
3. About and creating teams
Teams are groups of organization members that you can create to reflect your company or group's structure with cascading access permissions and mentions. Organization members can send notifications to a team or request reviews, and teams can be visible or secret. For more information, see 关于组织团队.
You can create independent teams or have multiple levels of nested teams to reflect your group or company's hierarchy. For more information, see 创建组织团队.
4. Managing team settings
You can designate a "team maintainer" to manage team settings and discussions, among other privileges. For more information, see 将团队维护者角色分配给团队成员.
You can manage code review assignments for your team, change team visibility, manage scheduled reminders for your team, and more in your team's settings. For more information, see 将成员组织为团队.
5. Giving people and teams access to repositories, projects, and apps
You can give organization members, teams, and outside collaborators different levels of access to repositories owned by your organization with repository roles. For more information, see 组织的存储库角色.
You can also customize access to your organization's projects and allow individual organization members to manage your organization's GitHub Apps. For more information, see 管理对你的projects的访问权限, 使用 Projects 进行规划和跟踪, and 管理对组织的编程访问.
Part 3: Managing security for your organization
You can help to make your organization more secure by recommending or requiring two-factor authentication for your organization members, configuring security features, and reviewing your organization's audit log and integrations.
1. Requiring two-factor authentication
You can view whether your organization members have two-factor authentication enabled and choose to require two-factor authentication in your organization. For more information, see 在你的组织中要求进行双因素身份验证.
2. Configuring security features for your organization
To keep your organization secure, you can use a variety of GitHub security features, including security policies, dependency graphs, secret scanning and Dependabot security and version updates. For more information, see 在组织中配置安全功能.
3. Reviewing your organization's audit log and integrations
The audit log for your organization allows you, as an organization owner, to review the actions performed by members of the organization within the last 180 days. For more information, see 查看贵组织的审核日志.
You can also review and configure the permission levels for your organization's installed integrations. For more information, see 查看组织中安装的GitHub应用.
Part 4: Setting organization level policies
1. Managing organization policies
You can manage permissions and policies for a number of different actions and features in your organization.
For example, to protect your organization's data, you can restrict repository creation in your organization. You can also choose to allow or prevent the forking of private repositories owned by your organization. For more information, see 限制在组织中创建仓库 and 管理组织的复刻政策.
For the full list of settings you can configure for your organization, see 管理组织设置.
2. Managing repository changes
You can configure permissions for creating, transferring and deleting repositories in your organization, including which types members can create. For more information, see 限制在组织中创建仓库 and 设置删除或转让仓库的权限.
You can also restrict or grant the ability to change repository visibility. For more information, see 限制在组织中更改仓库可见性.
3. Using organization-level community health files and moderation tools
You can create default community health files, such as a CONTRIBUTING.md file, a CODE_OF_CONDUCT.md file, or even issue and pull request templates, for your organization. These default files will be used for any repository owned by your organization that does not contain its own file of that type. For more information, see 创建默认的社区运行状况文件.
GitHub offers multiple tools for moderating and managing your community. For more information, see 关于社区管理和调解.
Part 5: Customizing and automating your work
You can use tools from the GitHub Marketplace, the GitHub API, and existing GitHub features to customize and automate your work.
1. Using GitHub Marketplace
GitHub Marketplace contains integrations that add functionality and improve your workflow. You can discover, browse, and install free and paid tools, including GitHub Apps, OAuth apps, and GitHub Actions, in GitHub Marketplace.
2. Using the GitHub API
There are two versions of the GitHub API: the REST API and the GraphQL API. You can use the GitHub APIs to automate common tasks, back up your data, or create integrations that extend GitHub. For more information, see 比较GitHub的 REST API 和 GraphQL API.
3. Building GitHub Actions
With GitHub Actions, you can automate and customize your enterprise's development workflow on GitHub. You can create your own actions, and use and customize actions shared by the GitHub community. For more information, see 撰写工作流程.
4. Publishing and managing GitHub Packages
GitHub Packages is a software package hosting service that allows you to host your software packages privately or publicly and use packages as dependencies in your projects. For more information, see GitHub Packages 简介.
Part 6: Participating in GitHub's community
There are many ways to participate in the GitHub community. You can contribute to open source projects, interact with people in the GitHub Community Support, or learn with GitHub Skills.
1. Contributing to open source projects
Contributing to open source projects on GitHub can be a rewarding way to learn, teach, and build experience in just about any skill you can imagine. For more information, see How to Contribute to Open Source in the Open Source Guides.
You can find personalized recommendations for projects and good first issues based on your past contributions, stars, and other activities in Explore GitHub. For more information, see 寻找在 GitHub 上参与开源的方法.
2. Interacting with the GitHub Community Support
You can connect with developers around the world to ask and answer questions, learn, and interact directly with GitHub staff. To get the conversation started, see GitHub Community Support.
3. Reading about GitHub Team on GitHub Docs
You can read documentation that reflects the features available with GitHub Team. For more information, see 关于 GitHub Docs 的版本.
4. Learning with GitHub Skills
You can learn new skills by completing fun, realistic projects in your very own GitHub repository with GitHub Skills. Each course is a hands-on lesson created by the GitHub community and taught by a friendly bot.
For more information, see Git 和GitHub学习资源.
5. Supporting the open source community
GitHub Sponsors allows you to make a monthly recurring payment to a developer or organization who designs, creates, or maintains open source projects you depend on. For more information, see 关于GitHub赞助商.
6. Contacting GitHub Support
GitHub Support can help you troubleshoot issues you run into while using GitHub. For more information, see 关于GitHub支持.