What is Source Code Management (SCM)?

Source Code Management (SCM) is a system that helps developers track, manage, and collaborate on software projects. It ensures that:

✅ Code changes are recorded.

✅ Multiple developers can work on the same project.

✅ Previous versions of the code can be restored if needed.

SCM can be classified into two types:

  1. Centralized Version Control System (CVCS)
  2. Distributed Version Control System (DVCS)

1️⃣ Centralized Version Control System (CVCS) ⇒

centralized version control.svg

How does CVCS work?

🔴 Drawbacks of CVCS:

🚫 No local access – Developers need an active network connection to work.

🚫 Single point of failure – If the server crashes, all data is lost.