Development

Git

AI-assisted editorial review:

Git is a free and open-source distributed version control system that records the changes you commit to a project and lets many people work on the same code safely.[1] Linus Torvalds, the creator of Linux, started it in 2005 as a tool for Linux kernel development.[2][4]

What does Git mean in simple terms?

Think of Git as a time machine for your files. Each time you commit, Git saves a snapshot of the whole project, so you can go back to an earlier state if today's change breaks something.[3] The history also shows who changed what and when. Because a normal full clone holds the repository history (shallow clones can omit older history), most operations, including browsing history and committing, work on your own computer without a network connection.[3] Hosting services such as GitHub, GitLab, and Bitbucket are built on top of Git and add collaboration features.[7] A basic workflow has three steps: change files, stage the changes you want (git add), and record them as a commit (git commit).[3] Sending commits to a shared server (git push) is how teammates and deployment tools receive them.[7]

How can Git be explained with an analogy?

Git is like a much stronger version of Ctrl+Z for a whole project. You can jump back to any saved point, and when two people edit the same document at the same time, Git helps merge their work and points out the places where the edits clash.

Where is Git used?

Case 1

Linux kernel — Where Git began

From 2002 the Linux kernel project used a proprietary tool called BitKeeper. In 2005 the relationship with the company behind it broke down and free use was revoked, so the community, led by Linus Torvalds, built its own system.[2] The goals included speed, a simple design, support for thousands of parallel branches, full distribution, and the ability to handle a project as large as the kernel.[2] Torvalds made the first Git commit on April 7, 2005, and has said it took about 10 days before he could use Git for the kernel. He handed maintenance to Junio Hamano a few months later.[4]
Result: A tool built to solve one project's problem became the common way to manage code for thousands of developers working in parallel.[2]

Case 2

Vercel — A git push that deploys a website

Vercel, a web hosting platform, can deploy repositories from GitHub, GitLab, Bitbucket, and Azure DevOps automatically. With the Git integration configured, pushes to non-production branches can create preview deployments, and merging into the production branch (often main) creates a production deployment.[7] Vercel also supports rolling back by reverting changes.[7] This is a documented workflow, not a measured case of a specific company.
Result: Teams without dedicated server staff can update a site with ordinary Git steps: commit, push, review, merge.[7]

Case 3

GitHub — An ecosystem built on Git

Git itself is a command-line tool. GitHub, which launched publicly on April 10, 2008, added hosting and collaboration features around it.[5] According to GitHub's Octoverse 2025 report, more than 180 million developers were building on GitHub, and developers merged 518.7 million pull requests over the year.[6]
Result: The report illustrates the scale of collaboration around Git and GitHub.[6]

Why it matters

  1. Safe experiments. After a change is committed, it is very hard to lose, especially if you regularly push to another repository. Teams can try things without fear of breaking the project for good.[3]
  2. A working unit for AI coding tools. Claude Code, for example, uses Git worktrees so that parallel sessions each get their own branch and their edits do not collide.[8] Reviewing the Git diff is also the simplest way to see exactly what an AI tool changed.
  3. A shared language for collaboration. The same commands are used to share, merge, and review work in teams anywhere, and hosting services add pull requests and review on top.[6][7]
  4. The starting point for deployment. Platforms such as Vercel turn a push or a merge into a preview or production deployment.[7]

Try it today

  1. Install Git from the official site and set your name and email.[1]
  2. Put one folder you edit often, such as documents or scripts, under Git and make a first commit.[3]
  3. Before asking an AI coding tool to edit code, commit your current state so you can compare or undo its changes afterward.[3][8]
  4. Push a small project to a hosting service and connect it to a deployment platform to see a push become a preview deployment.[7]

Limits and direction

Git only protects what you commit: uncommitted changes can still be lost.[3] Its model of a working tree, a staging area, and a repository takes time to learn, and merge conflicts still need a human decision. Git continues to be developed as an open-source project, with version 2.56.0 released on September 28, 2026.[1] As AI agents write more code, Git history and pull requests are becoming the main place where people check and approve machine-made changes.[6][8]

How has Git evolved?

2005-04-07
First commit
Linus Torvalds made the first commit of Git, after kernel developers lost free access to BitKeeper.[4]
2008-04-10
GitHub launch
GitHub, a hosting service built around Git, officially launched after its beta.[5]
2025-10-28
AI-era growth
GitHub's Octoverse 2025 reported more than 180 million developers and over 1.1 million public repositories using an LLM SDK.[6]

Which concepts are related to Git?

  • Leading host
    GitHubA hosting and collaboration service built on Git, with more than 180 million developers.[6]
  • Automation link
    CI/CDA push or merge can trigger builds, tests, and deployments automatically.[7]

Which sources explain Git?

  1. Git — Git (official site, latest release 2.56.0, 2026-09-28) — https://git-scm.com/
  2. Pro Git (Scott Chacon, Ben Straub) — 1.2 A Short History of Git — https://git-scm.com/book/en/v2/Getting-Started-A-Short-History-of-Git
  3. Pro Git (Scott Chacon, Ben Straub) — 1.3 What is Git? — https://git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F
  4. GitHub Blog — Git turns 20: A Q&A with Linus Torvalds (2025-04-07) — https://github.blog/open-source/git/git-turns-20-a-qa-with-linus-torvalds/
  5. GitHub Blog — We Launched (2008-04-10) — https://github.blog/news-insights/the-library/we-launched/
  6. GitHub Blog — Octoverse: A new developer joins GitHub every second as AI leads TypeScript to #1 (2025-10-28) — https://github.blog/news-insights/octoverse/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1/
  7. Vercel Docs — Deploying Git Repositories with Vercel — https://vercel.com/docs/git
  8. Claude Code Docs — Common workflows — https://code.claude.com/docs/en/common-workflows