Need Assistance?

support@tutorialshub.in

GitHub Fundamentals

Public and private repositories

ADVERTISEMENT
GitHub Free Lesson
5 min read
ADVERTISEMENT

Public repositories

Public repositories are suitable for open-source projects, learning projects, documentation and portfolios. Anyone can normally view the repository, although write access is controlled by permissions.

Private repositories

Private repositories restrict visibility to authorized users and teams. Privacy does not remove the need for security practices: secrets should still be stored outside Git history.

Changing visibility

Repository visibility can have significant consequences for code, forks, issues and access. Before changing visibility, review the repository's contents and organization policies.

ADVERTISEMENT