Learn Git & Version Control
A free, interactive course on Git and version control. You run real Git commands on every lesson - `init`, `add`, `commit`, `branch`, `merge`, resolve conflicts, `push`, `pull` - in a browser-based terminal, with AI hints when you get stuck and a free certificate when you finish. Part of the wider Terminal journey, so the command-line context you need is right there.
9,317+ codders inscrits
- Adapté aux débutants
Aide au codage assistée par IA
Leçons interactives et pratiques
Narration audio dans chaque leçon
Quiz pour tester vos connaissances
Certificat gratuit de réussite
Programme
Cette section fait partie du Journey Terminal. Le programme complet contient d'autres sections - clique sur n'importe quel aperçu ci-dessous pour le voir sur la page du Journey.
- Section 1Les fondamentaux82 leçons
Section 1
Gestion de versions
Commencer la sectionDémarrerDévelopperRéduireSuivez votre travail avec Git. Initialisez des dépôts, indexez et validez vos modifications, gérez les branches et les fusions, résolvez les conflits et corrigez vos erreurs.Introduction
3 leçons123- 01Qu'est-ce que la gestion de versionsQuiz
- 02Qu'est-ce que GitDéfiQuiz
- 03Instantanés et CommitsQuiz
Premiers pas
5 leçons531- 01Initialiser un dépôtDéfiQuiz
- 02Le dossier .gitDéfiQuiz
- 03Configurer votre identitéDéfiQuiz
- 04Git StatusDéfiQuiz
- 05Récapitulatif - Premier dépôtDéfi
Suivi des modifications
6 leçons640- 01La zone de transitDéfiQuiz
- 02Git AddDéfiQuiz
- 03Git CommitDéfiQuiz
- 04Modifier un fichier suiviDéfiQuiz
- 05Git LogDéfiQuiz
- 06Récapitulatif - Premiers commitsDéfi
Inspecter les modifications
4 leçons425- 01Git DiffDéfiQuiz
- 02Comparer les modifications indexéesDéfiQuiz
- 03Git ShowDéfiQuiz
- 04Récapitulatif - Travail d'enquêteDéfi
Ignorer des fichiers
4 leçons427- 01Pourquoi ignorer des fichiersDéfiQuiz
- 02Modèles GitignoreDéfiQuiz
- 03Vérifier les règles d'exclusionDéfiQuiz
- 04Récapitulatif - Dépôt propreDéfi
Projet de site de recettes
Projet5 leçons137- 01Aperçu du projetDéfiQuiz
- 02Initialiser et ignorerProjetQuiz
- 03Premier commitProjetQuiz
- 04Ajouter une deuxième recetteProjetQuiz
- 05Inspecter l'historiqueProjetQuiz
Les branches
6 leçons640- 01Qu'est-ce qu'une brancheDéfiQuiz
- 02Créer une brancheDéfiQuiz
- 03Changer de brancheDéfiQuiz
- 04Faire un commit sur une brancheDéfiQuiz
- 05Supprimer une brancheDéfiQuiz
- 06Récapitulatif - Pratique des branchesDéfi
La fusion
6 leçons640- 01Qu'est-ce qu'une fusion ?DéfiQuiz
- 02Fusion Fast-ForwardDéfiQuiz
- 03Fusion à trois voiesDéfiQuiz
- 04Conflits de fusionDéfiQuiz
- 05Résoudre un conflitDéfiQuiz
- 06Récapitulatif - Maître de la fusionDéfi
Annuler des modifications
6 leçons641- 01Annuler les modifications non indexéesDéfiQuiz
- 02Désindexer un fichierDéfiQuiz
- 03Amender le dernier commitDéfiQuiz
- 04Annuler un commit (revert)DéfiQuiz
- 05Réinitialiser une brancheDéfiQuiz
- 06Récapitulatif - Machine à remonter le tempsDéfi
Dépôts distants
4 leçons324- 01Qu'est-ce qu'un dépôt distant ?DéfiQuiz
- 02Ajouter un dépôt distantDéfiQuiz
- 03Push, Pull et CloneQuiz
- 04Récapitulatif - Configuration du dépôt distantDéfi
Projet Feature Branch
Projet6 leçons142- 01Aperçu du projetDéfiQuiz
- 02Initialiser MainProjetQuiz
- 03Travailler sur une brancheProjetQuiz
- 04Mettre à jour Main en parallèleProjetQuiz
- 05Fusionner la fonctionnalitéProjetQuiz
- 06NettoyageProjetQuiz
Défis finaux
3 leçons3- 01Dépôt de blog à partir de zéroDéfi
- 02La danse des branchesDéfi
- 03Maître de l'annulationDéfi
Why learn Git with Coddy
- Run Git in your browser. No install, no GitHub account required, no environment setup. Every command operates on a real repo so you see what
git status,git log, andgit diffactually print. - Core Git: the staging area, commits, branches, merging, rebasing, conflict resolution, remote repos,
pullvsfetch, undoing mistakes. The Git skills you'll use every day on the job. - AI hints help you read Git's famously cryptic output - detached HEAD, fast-forward, three-way merge - without spoiling the answer, so Git stops feeling like magic.
- Free Git certificate when you finish the section. A credible proof point for any developer role, since version control is non-negotiable on every team.
Frequently asked questions about learning Git
What is Git?
Git is the distributed version control system most software teams use to track changes to their code. Each developer has a full copy of the project history, and Git lets you commit snapshots, branch off to try ideas, merge work together, and roll back when things go wrong.
Is Git hard to learn?
The basics -
init, add, commit, status, log, push, pull - are quick to pick up. The harder parts (rebasing, resolving conflicts, recovering from mistakes, understanding what HEAD is doing) take longer. The course introduces them in small steps with a real repo at every lesson so the commands stop being abstract.Do I need to know the command line to use Git?
It helps, and the previous section of the Terminal journey covers the basics. Git has GUIs too, but every team eventually drops to the command line for the tricky operations, so it's worth being comfortable typing the commands yourself.
What's the difference between Git and GitHub?
Git is the version control tool that runs on your machine. GitHub (and GitLab, Bitbucket, etc.) is a hosting service where you push your Git repos so other people can pull them. You can use Git without ever using GitHub - they're separate things that work well together.
Can I learn Git online for free?
Yes. The interactive Git section is free - full lessons, real Git commands on every exercise, and a certificate. Everything runs in a browser-based terminal so you don't need to install Git or create accounts to start.
Do I get a certificate after the Git course?
Yes. Finishing the Git section gives you a free certificate of completion you can share on LinkedIn or include on your resume. Version control is expected on every software team, so this is a meaningful signal alongside any portfolio projects.