In this first chapter, we answer two questions: what is Git, and why use it?
The videos of this course are in French. Turn on YouTube’s auto-translated subtitles if needed: every chapter below is fully written in English.
What is Git?
The best-known definition: Git is a version control system. In practice, here’s what it does:
- It tracks every file in your project: every change, addition or deletion is recorded.
- It keeps the history of all those changes. Broke part of the project? You can roll back to the last stable version.
- It knows who did what: every change is tied to the person who made it.
Why use it? A simple example
Picture a team working on the same project, each person on their own PC.
Without Git, everyone edits files on their side, then drops them into a shared folder. The result: people overwrite each other’s files, changes get lost, and nobody knows which version is the right one.
With Git, everyone pushes their changes to an online platform such as GitHub, GitLab or Bitbucket. The whole team can then pull those changes, build on top of them and push their own, without overwriting anything.
It’s a very simple example, but you’ll explore all of this in detail in the next chapters.
What’s Next
Head to Git’s official website, git-scm.com, to download it. In the next chapter, we install and configure it together.
This is Chapter 1 of the Git in Practice course. Follow along to learn how to use Git every day and as a team.