Glossary · Web Development

Git

gitnoun

Git is a distributed version control system that tracks changes to files and coordinates work among developers.

Part of speech
noun
Pronunciation
git
Origin
Created by Linus Torvalds in 2005 to manage Linux kernel development. The name is British slang Torvalds jokingly applied to himself.

What is Git?

Git is a distributed version control system that tracks changes to files over time and coordinates the work of multiple people on the same project. It is used most heavily in software development, where it keeps a complete history of every change made to a codebase, records who made each change and why, and makes it possible to combine the work of many contributors without their edits overwriting one another. Git has become the dominant tool of its kind, underpinning the way modern software is built and forming the basis of popular hosting services where projects are stored and shared.

The mechanics rest on the idea of a repository, which is a project folder together with its full history of changes. As work progresses, a developer groups related edits into a commit, a saved snapshot accompanied by a short message explaining what changed. Because Git is distributed, every contributor has a complete copy of the repository and its history on their own machine, so they can work, commit, and review history even without a network connection. Git's branching model lets a person create an independent line of development to work on a feature or fix in isolation, then merge it back into the main line when it is ready. Git tracks these histories intelligently, so parallel work can be brought together and, when necessary, differences between versions can be compared or a project rolled back to an earlier state.

Git was created in 2005 by Linus Torvalds, the originator of the Linux operating system kernel, who needed a fast, reliable way to manage the kernel's development after the team's previous tool became unavailable. He built Git in a matter of weeks, designing it to be quick, distributed, and resistant to data corruption. The name is a piece of British slang that Torvalds jokingly applied to himself, in keeping with his habit of naming projects with self-deprecating humor.

For a business, Git matters because it brings safety, collaboration, and accountability to any work involving code or, increasingly, other tracked files. It means changes are never lost, because the full history is preserved and any prior state can be recovered, which protects against mistakes and makes experimentation safe. It lets a team of developers work in parallel without stepping on each other, dramatically improving productivity, and it creates a clear record of what changed, when, and by whom, which aids review and debugging. Git also underpins modern deployment workflows, where verified changes flow from a developer's machine through testing to a live site in a controlled way.

The nuances involve discipline and process. Git is powerful and, at first, can feel complicated, with concepts that take time to absorb, and teams need agreed conventions about how to branch, commit, and merge so that collaboration stays orderly. Common mistakes include committing large binary files or secrets such as passwords into a repository, writing vague commit messages that obscure the history's value, and neglecting to use branches, which invites conflicts. Used with sound habits, typically alongside a staging environment and a deliberate deployment process, Git gives a business a reliable, auditable foundation for building and maintaining software with confidence.

Why it matters

Git protects a website's codebase from lost work and lets teams ship changes safely, making it foundational to reliable, maintainable web development.