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

  1. Sign in to your GitHub Enterprise instance at http(s)://[hostname]/login.

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

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

  4. In the Users Can Delete Repositories drop-down menu, select Disabled to restrict organization repository deletions and transfers to site administrators only. Users can Delete Organizations drop-down