GitHub Accounts, Ownership and Repository Visibility
Who owns a repository?
GitHub hosts Git repositories and adds collaboration features. A personal account represents an individual; an organization can own repositories and manage access for teams. For example, the fictional address garden-team/plant-notes identifies the owner first and repository second. Your local Git author name is not proof of ownership or login.
Choose visibility before publishing
Public repositories can be viewed by anyone; private repositories restrict access to authorized people and applicable administrators or integrations. Internal visibility is available in eligible enterprise organizations, subject to policy. Visibility does not grant write access. A private team notebook belongs in an authorized private repository; a public demo is suitable only after reviewing its contents and permissions. Never upload passwords or confidential files even to a private repository.
Practice: choose the owner and access
For a personal practice notebook, choose personal ownership and private visibility. For a company project, use the approved organization and ask its administrator about access. For a public learning example, review the entire committed history and license first. Changing public to private cannot retrieve existing copies. In the offline lab, classify the three fictional projects and explain your choice; do not alter real settings.
Check your understanding
Choose visibility and ownership for each scenario in the Chapter 11 guide; explain why visibility is not a write permission.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
GitHub Accounts, Ownership and Repository Visibility — knowledge check
Apply GitHub fundamentals to fictional project scenarios.
Which owner is suitable for an approved company project?
What does public visibility permit?
What should you do with a confidential token?
When can internal visibility be available?
Does changing visibility remove existing local copies?