What is Git?

Git is a free tool that records every change you make to your files so you can go back to any earlier version or share work with others without losing anything.

7 min read min de lecture

~$ man git

What is Git?

Cloud & DevOps gneurone encyclopedia
Git is a free tool that records every change you make to your files so you can go back to any earlier version or share work with others without losing anything.

definition

Git is a distributed version control system that records every change made to files in a project and stores the full history on each user's computer.

It lets multiple people work on the same code at the same time, merge their work, and keep a complete record of who changed what and when.

Git runs from the command line and is the standard tool used by almost every software team to manage source code.

Think of Git like a notebook that automatically saves every page you write; you can flip back to any past page, copy a page to try new ideas, and give copies of the notebook to friends so everyone works from the same up-to-date book.

key takeaways

  • Git keeps a complete history of every change so nothing is lost.
  • It lets developers create separate branches to work on features without breaking the main code.
  • Every copy of a Git repository contains the full project history.
  • Git works offline and syncs changes when a network connection is available.
  • Mastering basic Git commands is required for almost every programming or DevOps role.

the 2026 job market

In 2026 every software engineering, DevOps, cloud infrastructure, and site reliability role lists Git as a required skill; teams expect new hires to manage branches, resolve merge conflicts, and use Git inside CI/CD pipelines without extra training.

Software Engineer · 95,000-150,000 USD / 85,000-130,000 CAD / 55,000-85,000 GBPDevOps Engineer · 110,000-165,000 USD / 95,000-145,000 CAD / 60,000-95,000 GBPSite Reliability Engineer · 115,000-170,000 USD / 100,000-150,000 CAD / 65,000-100,000 GBP

frequently asked questions

How do I install Git on Windows or Mac?

Download the official installer from the Git website and run it with default settings. After installation open a terminal and type git --version to confirm it works.

What is the difference between Git and GitHub?

Git is the version control software that runs on your computer. GitHub is a website that hosts Git repositories and adds collaboration features such as pull requests and issue tracking.

How do I save my changes with Git?

Use git add to stage the files you changed, then git commit -m "message" to create a snapshot. The message should briefly describe what you changed.

How do I undo the last commit in Git?

Run git revert HEAD to create a new commit that reverses the last one, or use git reset --soft HEAD~1 if you want to keep the changes in your working directory.

courses to go further

$ cat ./full-guide.mdLance-toi en CI CD Pipeline : ton premier pas concret aujourd'huiread the guide →

related terms

< back to the encyclopedia

Auteur(s)

R

REHOUMA Haythem

Haythem Rehouma est un ingénieur et architecte IA et cloud, formateur et enseignant technique, avec un profil orienté IA médicale, AWS, MLOps, LLM/RAG et vision par ordinateur.