D2: Creating & Organizing Repositories
GH-900 GitHub Foundations exam practice questions · 10 flashcards
Question
Ways to create a repository?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Creating & Organizing Repositories practice questions and answers
- Ways to create a repository?From scratch, from a template, by forking, or by importing from another VCS.
- Template repository?A repo marked as template; new repos start with its files/structure but no shared history.
- Template vs fork?Template: new independent repo without history. Fork: copy linked to upstream with history for contributing back.
- Repository topics?Tags that classify repos and improve discoverability.
- Repository description and website?Short summary and link shown on the repo page.
- Branching for organization?Use main for stable code and feature branches for work; protect main.
- Renaming the default branch?Possible in settings; GitHub redirects and updates PR targets.
- Archiving a repository?Makes it read-only, signaling it's no longer maintained.
- Transferring a repository?Move ownership to another user/org; redirects are created.
- Scenario: teams start every microservice with same CI config and structure. Approach?Create a template repository.