Skip to main content

What is Git?

Git is a distributed version control system used to track changes in code, collaborate on projects, and manage the development history.

Git's key idea:

  • it stores all changes to files over time;
  • it lets you roll back to any state of the project;
  • it lets multiple developers work in parallel without interfering with each other.

Main features of Git:

  • storing change history (commits);
  • working with branches (branching and merging);
  • syncing the local repository with a remote one;
  • safe development without risk of losing code.

Git works locally, and remote repositories (for example, GitHub, GitLab, Gitea) are just add-ons for collaboration.

Short Answer

Interview ready
Premium

A concise answer to help you respond confidently on this topic during an interview.