This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2020-11-12. 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.

Did this doc help you?

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.

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. For more information, see "About repository visibility."

Organization owners can always create any type of repository.

Site administrators can restrict the options you have available for your organization's repository creation policy. For more information, see "Restricting repository creation in your instance."

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, click your profile photo, then click Your profile.
    Profile photo
  2. On the left side of your profile page, under "Organizations", click the icon for your organization.
    organization icons
  3. Under your organization name, click Settings.
    Organization settings button
  4. In the left sidebar, click Member privileges.
    Member privileges option in org settings
  5. Under "Repository creation", select one or more options.
    Repository creation options
  6. Click Save.

Did this doc help you?

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.