Open GitHub and sign in
Go to the repository you want to change
Click Settings
Scroll to the Danger Zone section
Click Change repository visibility
Select Public or Private
Confirm the change by typing the repository name if prompted
Click I understand, change repository visibility
