This version of GitHub Enterprise will be discontinued on 2021-06-09. 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.

Managing the forking policy for your organization

You can can allow or prevent the forking of any private and internal repositories owned by your organization.

Organization owners can manage the forking policy for an organization.

By default, new organizations are configured to disallow the forking of private and internal repositories.

If you allow forking of private and internal repositories at the organization level, you can also configure the ability to fork a specific private or internal repository. For more information, see "Managing the forking policy for your repository."

  1. In the top right corner of GitHub, click your profile photo, then click Your organizations. Your organizations in the profile menu
  2. Click Settings next to the organization. The settings button
  3. In the left sidebar, click Member privileges. Member privileges option in org settings
  4. Under "Repository forking", select Allow forking of private repositories or Allow forking of private and internal repositories. Checkbox to allow or disallow forking in the organization
  5. Click Save.

Further reading

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.