What is version control?

It is a system that records the changes to a file or set of files over time so you can recall specific versions.

The version control system consists of a central shared repository where teammates can commit the changes to a file or set of files. It allows:

  • To revert the file to the previous state.
  • To compare changes over time.
  • To revert the entire project to a previous state.
  • To see who modified something in the files.