Version Control

Suppose a team of about 5 remote developers is working on a Web Application, each of them assigned a feature to develop they have to and save all there code as one project. The current state of the project will be saved like a snapshot with each developer's modification. This is what version control is all about.

What is version control?

This is the process of tracking and managing changes made to files overtime. This is done by the help of the version control system A version control system is a system that manages and tracks the changes made to a file overtime. Examples of version control systems include; Git (Most used version control system.), …

Types of version control system.

There are two types of version control system:-

  • Centralized VCS - There is a central server where each developer saves the code.
  • Distributed VCS - Here each developer has a local copy of the code into there own work station.

Why version control?

  • Collaboration
  • Managing versions because all versions of code are preserved.
  • Easy rollback from the current version
  • reverse faulty update and save time.

Git is the most widely used distributed version control system

What is Git

This is a distributed version control tool that supports distributed non-linear workflows by providing data assurance for developing quality software.

Git Features.
  • It is released under GPL's licence. it is free and open source.
  • supports non-linear development software.
  • Records changes made to a file rather than the file itself.
  • Every use has his own copy of the repository data stored locally.
  • Every collaborator's working directory is a branch by itself.
  • No changes can be made without git recording it.