Flashcardsfor IT Certifications

D1: Version Control Fundamentals

GH-900 GitHub Foundations exam practice questions · 10 flashcards

Question
What is version control?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Version Control Fundamentals practice questions and answers
  1. What is version control?
    A system that records changes to files over time so you can recall specific versions, see who changed what, and collaborate safely.
  2. Benefits of version control?
    History and audit trail, easy rollback, parallel work via branches, collaboration, backup, and traceability of who changed what and why.
  3. Centralized vs distributed version control?
    Centralized (e.g. SVN) has one central server; distributed (Git) gives every clone the full history so work continues offline.
  4. Why is Git called distributed?
    Every clone contains the complete repository history, not just the latest snapshot.
  5. What problem does version control solve for teams?
    Multiple people can change the same codebase without overwriting each other's work, with merges and conflict resolution.
  6. What is a snapshot in Git?
    Git stores each commit as a snapshot of the whole project (unchanged files are referenced, not duplicated).
  7. What is a diff?
    The line-by-line difference between two versions of a file or commit.
  8. What is a merge conflict?
    When two branches change the same lines differently and Git can't merge automatically; a human must choose the result.
  9. What is a SHA in Git?
    A unique hash identifying each commit (and other Git objects).
  10. Why write good commit messages?
    They explain why a change was made, making history, reviews and debugging easier.