Chargement...
Chargement...
Explore Git & GitHub through guided programming exercises in your browser. Read each lesson, experiment with code and use progressive hints when you need help.
Access all exercises freely with your daily hearts. Unlimited energy, AI personal tutoring, and certifications are available with Pass Pro. Compare plans
Master Git and GitHub to track code history and collaborate smoothly with teams. Learn commits, branches, conflict resolution, and the GitHub Flow.
Before you start: No previous Git experience needed. Basic terminal commands are introduced step by step.
# Initialiser et créer un premier commit
git init
git add .
git commit -m "feat: initial commit"git status checks working tree state. git add stages modified files and git commit records a permanent snapshot with a clear message.
Try it: Create a feature branch with 'git switch -c feature-test' and inspect it with 'git branch'.
Git tracks code history, enables safe branch collaboration, and prevents data loss with time travel. GitHub hosts remote repositories and standardizes code reviews via Pull Requests.
Git is the distributed version control system running locally on your machine. GitHub is the cloud platform hosting remote repositories and enabling teamwork and CI/CD automation.