You can prevent members from deleting or transferring repositories in organizations on your GitHub Enterprise appliance.

  1. In the upper-right corner of any page, click . Rocketship icon for accessing site admin settings

  2. In the left sidebar, click Admin center. Admin Center tab

  3. Under "Users can delete repositories, use the drop-down menu, and click Disabled to restrict organization repository deletions and transfers to site administrators only. Users can delete organizations drop-down