GitHub: set a repository to private or public

Official page for checking and changing who can see your code.

Official source · GitHub · checked 9/10/2026