0
0
Gitdevops~5 mins

Distributed vs centralized version control in Git - Quick Revision & Key Differences

Choose your learning style9 modes available
Recall & Review
beginner
What is centralized version control?
Centralized version control uses a single central server to store all versions of the code. Developers check out and commit changes directly to this server.
Click to reveal answer
beginner
What is distributed version control?
Distributed version control lets each developer have a full copy of the entire code history on their own computer. Changes are shared by pushing and pulling between copies.
Click to reveal answer
intermediate
Name one advantage of distributed version control over centralized.
Distributed version control allows developers to work offline and commit changes locally before sharing, which is not possible with centralized systems.
Click to reveal answer
beginner
How does centralized version control handle collaboration?
All developers connect to the central server to get the latest code and submit their changes, so the server controls the main codebase.
Click to reveal answer
beginner
Give an example of a centralized and a distributed version control system.
Centralized example: Subversion (SVN). Distributed example: Git.
Click to reveal answer
Which version control system stores the full history on every developer's machine?
ABoth
BDistributed version control
CNeither
DCentralized version control
In centralized version control, where is the main codebase stored?
AOn a central server
BOn each developer's computer
CIn the cloud only
DOn a USB drive
Which system allows you to commit changes without internet access?
ACentralized version control
BBoth
CNeither
DDistributed version control
Which of these is an example of a centralized version control system?
ASubversion (SVN)
BMercurial
CGit
DBazaar
What is a key disadvantage of centralized version control?
ANo history saved
BHard to share code
CRequires internet to commit changes
DToo many copies of code
Explain the main differences between distributed and centralized version control systems.
Think about where the code history lives and how developers interact with it.
You got /4 concepts.
    Describe a scenario where distributed version control is more beneficial than centralized.
    Consider when internet access is limited or collaboration is flexible.
    You got /4 concepts.