Skip to main content

This version of GitHub Enterprise was discontinued on 2022-06-03. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

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. 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."

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."

  1. In the top right corner of GitHub Enterprise Server, 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

  1. Click Save.