Enable\disable protection for GitHub Enterprise repository.
To manage the protection (license) open the DevOps tab (GitHub) and find your GitHub Enterprise organization entry, after that click the Manage & Restore button.
This will open the organization dashboard, where you can see a whole list of the repositories of your account/organization. The most important part of this article is the License assigned column, where you can decide whether you want to use a license for specific repo or not, simply by using the switch:
While adding a new GitHub environment to your management service you can decide, that license should be automatically assigned to your repositories.