# Git

> The most used tool for saving each change to code. It helps teams share it too.

**Field:** Software Development  
**Category:** Version Control

## Think of it like

Think of it like a save key with a good memory. It keeps each save, and you can go back to any.

## Definition

Git is the most used version control tool in the world. It keeps the full history of a project on your own computer, so it works without the internet. You save changes as commits, try ideas on branches and share work with others. Linus Torvalds wrote it in 2005 to manage the code of Linux. It is free and runs on every common system.

## Example

Jack types git log in his project folder. Git lists every saved change, newest first, back to the very first one.

## Example code

```console
$ git log --oneline
d331bff Add dark style
6dd6d2c Say hello to the world
93eadff Add home page
```

Three saved changes, each with a short code and a note.

## Why it matters

Nearly every software team uses Git. Knowing it is one of the first skills a new developer needs.

## Common mistake

Thinking Git and GitHub are the same. Git is the tool on your computer; GitHub is a website that hosts it.

## Three principles

- **History on your machine.** Every copy holds the full past.
- **Works offline.** No internet needed to save changes.
- **Free for all.** Open source and on every system.

## Related terms

- [Version Control](https://learn.benibix.com/term/development/version-control)
- [GitHub](https://learn.benibix.com/term/development/github)
- [Commit](https://learn.benibix.com/term/development/commit)
- [Branch](https://learn.benibix.com/term/development/branch)
- [Aider](https://learn.benibix.com/term/ai/aider)

## Told apart from

- [Git vs GitHub](https://learn.benibix.com/compare/git-vs-github): Git is the tool on your computer that saves every change. GitHub is a website that keeps a shared copy online for a team.

## Taught in

- [Codex, Gemini CLI and Aider](https://learn.benibix.com/learn/ai-ai-tools/codex-gemini-cli-and-aider): AI Apps and Tools, 7/10
- [Version Control and Git](https://learn.benibix.com/learn/development-version-control/version-control-and-git): Git and GitHub, 1/13

---

Source: https://learn.benibix.com/term/development/git
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
