Restricting repository creation in your organization

To protect your organization's data, you can configure permissions for creating repositories in your organization.

You can choose whether members can create repositories in your organization. If you allow members to create repositories, you can choose which types of repositories members can create. To allow members to create private repositories only, your organization must use GitHub Enterprise Cloud. For more information, see "About repository visibility."

Organization owners can always create any type of repository.

Enterprise owners can restrict the options you have available for your organization's repository creation policy. For more information, see "Enforcing repository management policies in your enterprise account."

Warning: This setting only restricts the visibility options available when repositories are created and does not restrict the ability to change repository visibility at a later time. For more information about restricting changes to existing repositories' visibilities, see "Restricting repository visibility changes in your organization."

Note: Internal repositories are available for organizations that are part of an enterprise account. For more information, see "About repository visibility."

  1. In the top right corner of GitHub, click your profile photo, then click Your organizations. Your organizations in the profile menu
  2. Next to the organization, click Settings. The settings button
  3. In the left sidebar, click Member privileges. Member privileges option in org settings
  4. Under "Repository creation", select one or more options. Repository creation options
  5. Click Save.

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.