Vezi pagina în română

IT Glossary

What is Git (version control system)?

The free version control system used by almost every programmer: each code change stays recorded, with author, date and reason.

6
sections
6
questions answered

Git is a free, open source, distributed version control system that records every change to a project's files as a "commit" with an author, a date and a message, so you can return to any earlier version at any time. It appeared in 2005, built by the Linux kernel community, in particular Linus Torvalds, after the company behind BitKeeper withdrew its free use. According to the 2022 Stack Overflow survey, Git is used by 93.87% of 71,379 respondents and 96.65% of professional developers. GitHub, GitLab and Bitbucket are platforms that host Git repositories and add collaboration; Git itself runs on the developer's computer.

Why a business glossary mentions it: the Git repository is the concrete form of your ownership of software you paid for. The healthy clause for custom development: code delivered as repository access, ideally on an account your company owns, with the full history and delivery there throughout the project, not a ZIP archive at the end. A repository can be public, visible to everyone, or private, visible only to people granted access. A project you paid for is usually private.

Why it matters for your business

Complete history, short disputes

Every line of code has an author, a date and a reason — "when and why did this change" gets a documented answer, not recollections.

Nothing lost, everything reversible

Any version in history can be restored — failed experiments and accidental deletions stop being catastrophes.

Civilized handovers

Repository access makes changing vendors a normal technical process — not archaeology through ZIP archives and old emails.

How Git works: commits, branches and a local repository

Git stores snapshots of the project, not lists of differences. A file moves through three states: modified, staged for commit (in the staging area) and saved in a commit. Each commit gets a 40-character SHA-1 checksum, so nothing can change the history without Git noticing (Pro Git, chapter 1.3).

Nearly all operations are local: every copy of the repository holds the whole history, so you can work and save changes without internet and push them later. For parallel work, developers use branches and merge them back. If two people changed the same lines, a conflict appears and a person decides what stays.

Git vs GitHub (and GitLab, Bitbucket)

Git is the program that keeps the history; it runs on your computer, works offline and needs no platform. GitHub is a web platform that hosts Git repositories and adds pull requests (code review), issues, GitHub Actions (automatic tests and deployment) and access permissions. It belongs to Microsoft: the acquisition, announced on 4 June 2018 for 7.5 billion USD in Microsoft stock, completed on 26 October 2018.

GitLab plays the same role and can also be installed on your own server or in Kubernetes. Bitbucket is a third platform of the same kind. For a client the platform matters less than whose account the repository sits on.

Want an estimate for your project?

Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.

Book a free call

Example: 4 Git commands

The four commands below cover a developer's basic cycle. "git clone <address>" copies the repository with its whole history to their computer. "git add ." marks the changed files for the next commit. "git commit -m" followed by a message saves the snapshot locally, with author and date. "git push" sends the commits to the shared server, for example GitHub or GitLab.

A fifth command, "git log", shows who changed what and when: the command behind the promise of a complete history.

Git in a software development contract

Ask for three things: the repository on an account of your company (you give the vendor access, not the reverse), delivery as repository access with the full history and continuous delivery there, not "we will give you the code at the end." A ZIP archive at the end loses the history, exactly what helps a new vendor understand the project.

Even without reading code you can check the commit rhythm, the clarity of messages and whether changes go through approved pull requests. Ownership of the code and what you receive at handover are covered in the related pages.

Frequently asked questions

What is Git, in short?

Git is a free, open source, distributed version control system: it records every change to code with author, date and message, and every copy keeps the whole history. It was created in 2005 by the Linux kernel community, in particular Linus Torvalds, and runs locally on the developer's computer.

What is GitHub?

GitHub is a web platform that hosts Git repositories and adds pull requests, issues, GitHub Actions and access permissions. It has belonged to Microsoft since 2018. Repositories can be public, visible to everyone, or private, visible only to people who were granted access.

What is the difference between Git and GitHub?

Git is the tool: the free version control system, under the GPL v2 licence, which runs locally without internet. GitHub is a platform that hosts Git repositories and adds collaboration, such as reviews and automation. Alternatives exist, such as GitLab, which can also be installed on your own server, and Bitbucket.

Who created Git and why?

The Linux kernel community, in particular Linus Torvalds, in 2005, after the company behind BitKeeper withdrew its free use. The goals were speed, a simple design, thousands of parallel branches, a fully distributed system and the ability to handle large projects such as the Linux kernel.

What exactly should our contract say about Git?

Three things: the repository hosted on an account where your company is owner or holds full rights (you grant the vendor access, not the reverse), delivery defined as repository access with complete history, and continuous delivery there throughout the project — not "you'll get the code at the end." It costs nothing and spares you the argument on separation day.

Can a non-technical person see anything useful in a project's Git repository?

Surprisingly much: the rhythm of commits shows whether work is steady or panic bursts before demos, the commit messages reveal discipline or chaos, and the presence of approved pull requests shows quality control in action. You are not reading the code — you are reading the team's behavior.