What is Version Control(VCS): Version control systems are a category of software tools that help a software team manage changes to source code over time. Version control software keeps track of every modification to the code in a special kind of database.
For all software team, VCS is must have system, using which developers can manage their source code. VCS is kind of tracking of any change in the code and developers can turn the clock go to back to any code at point of time.
SVN: Sub-Version is a type of VCS, which works on a principle of centralized repository and clients connecting to that repository.
Following are the main points about SVN:
- It works on the principle of Client-Server
- Every client has a local copy of repository
- It has a good branching and merging mechanism
- It is a monolithic system.
GIT: GIT is the most widely used VCS, which works on a principle of distributed repository. Following are the main points about GIT:
- GIT is an example of DVCS (Distributed Version Control System)
- It works on the principle of Peer to Peer
- Every client has local repository.
- All the operations are done at client side.
GIT vs SVN: Following are differences explained via images. All images are also present on slide share.