You can choose whether members and GitHub Apps can create repositories in your organization. If you allow members and GitHub Apps to create repositories, you can choose which types of repositories they can create. Organization owners can always create any type of repository.
Enterprise owners can restrict the options you have available for your organization's repository creation policy. For more information, see Enforcing repository management policies in your enterprise.
Organization owners can restrict the type of repositories members can create to private or internal to help prevent sensitive information from being exposed. For more information, see Best practices for preventing data leaks in your organization.
Warning
This setting restricts the visibility options available when repositories are created, but does not prevent changing the visibility of existing repositories. For more information about restricting changes to existing repositories' visibilities, see Restricting repository visibility changes in your organization.
-
In the upper-right corner of GitHub, click your profile picture, then click Organizations.
-
Select an organization by clicking on it.
-
Under your organization name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

-
In the "Access" section of the sidebar, click Member privileges.
-
Under "Repository creation", select one or more options.
-
Click Save.