Owners can set permissions for deleting or transferring repositories in an organization.
Limiting the ability to delete or transfer repositories helps prevent sensitive information from being exposed. For more information, see "Best practices for preventing data leaks in your organization."
- In the upper-right corner of GitHub, select your profile photo, then click Your organizations.
- Next to the organization, click Settings.
- In the "Access" section of the sidebar, click Member privileges.
- Under "Repository deletion and transfer", select or deselect Allow members to delete or transfer repositories for this organization.
- Click Save.