CS FundamentalsModerateService-company placement · Git

Which statement correctly contrasts a centralised VCS such as Subversion with Git?

  1. A. Subversion lets developers commit offline; Git needs its server for every commit
  2. B. Git commits are local and each clone has full history; SVN commits go to the server
  3. C. Both systems give every commit a global, sequential revision number
  4. D. Git cannot be used with a central shared repository in any workflow

Correct answer: B. Git commits are local and each clone has full history; SVN commits go to the server

In Git, commit, log, diff and branch work offline against the local repository, and sharing is a separate push. Subversion's commits and history live on the server, with repository-wide revision numbers; Git identifies commits by hash.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic