👋 We've unified all of GitHub's product documentation in one place! Check out the content for REST API, GraphQL API, and Developers. Learn more on the GitHub blog.
Article version: GitHub.com

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

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 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 forking", select Allow forking of private repositories or Allow forking of private and internal repositories.
    Checkbox to allow or disallow forking in the organization
  6. Click Save.

Further reading

Ask a human

Can't find what you're looking for?

Contact us