Discuss your project

Glossary

Git

Git is a distributed version control system that stores changes to files as traceable snapshots. Teams use it to work on code, configurations, and documentation in parallel, merge changes, and restore any earlier state.

October 25, 2026GitVersion ControlSoftware DevelopmentDevOps

Git was created in 2005 for the development of the Linux kernel and is now widespread in software development. If you develop software, configure servers by script, or use infrastructure as code, you almost always work with Git. Platforms such as GitHub, GitLab, Azure Repos, or Bitbucket add browser-based collaboration, permissions, reviews, and automation to Git.

How Git works

The most important everyday terms:

Typical team workflow

  1. Create a separate, short-lived branch for each task.
  2. Work in small, well-described commits.
  3. Open a pull request that is tested automatically, see CI/CD.
  4. Have the change checked in a code review.
  5. After approval, merge into the main branch and delete the branch.
  6. Mark release versions with tags so that every version can be restored unambiguously.

A file named .gitignore defines what never belongs in the repository, for example dependencies that Composer reinstalls, or local configuration files.

Git beyond software development

Security

How it differs

Git is the software; GitHub or GitLab are platforms that host and extend Git repositories. Versioning in SharePoint or OneDrive stores older versions of individual documents but offers no branches, no merging, and no reviews. A backup protects data against loss. Git documents who changed what, when, and why.

Frequently asked questions

Is Git worthwhile for small projects too?

Yes. Even for a single person, Git provides a complete history, the ability to restore earlier states, and branches in which ideas can be tried out safely. The effort is low, because a repository is created with a single command.

How do you undo a change?

On shared branches, git revert creates a new commit that reverses the effect of an earlier commit. The history is preserved and remains traceable for everyone. Commands that rewrite history are intended only for local snapshots that have not yet been shared.

Does Git replace a backup?

No. Distributed copies help if a computer fails, but they do not protect against accidentally deleted repositories on the platform, locked accounts, or ransomware. That requires a separate backup.

Sources

View software development

EXPLORE THE GLOSSARY

Related Terms

More in Software Development

All Glossary Terms

YOUR NEXT STEP

What should
work better
next?

Tell us briefly what you have in mind. We will assess it and suggest a sensible next step.