Git

Git is a free, open-source version control system that allows you to track and manage changes to files or projects. This enables you to restore previous versions, compare changes, and collaborate on projects as a team.

Logo Git.

Functionality and Use

Changes are documented in a version history and saved as so-called revisions or commits. In this way, it is clear at any time who made which adjustments and when.

As a distributed version control system, git allows each developer to have a full copy of the project including the entire history locally on his computer. This allows changes to be made offline and later synchronized with other versions.

Examples

  • Developer saves code changes with a commit
  • Developer creates a new branch for a feature
  • Team works together on a repository
  • Restoring an earlier code version
What is a commit really? snap shot of code