6 chapters · 23 lessons
A free beginner course to learn Git version control by typing real commands in your browser. No setup needed. Practice everything from commit to push safely.
Git is a version control system that records and manages the history of changes to your code. It is the standard tool in software development worldwide, and combined with GitHub it enables publishing your code and collaborating with a team.
This course teaches Git from scratch. Perfect for anyone who has heard of Git but doesn't know how to use it, or who has started writing code with AI but isn't managing versions yet.
Starting from why version control matters, you'll learn the commit workflow, how to review and undo changes, and how to upload your project to GitHub. Six chapters and 23 lessons at a steady pace.
Each lesson takes 5 to 10 minutes, and the whole course takes about 3 to 4 hours. The only prerequisite is basic terminal usage (finishing Terminal Introduction is plenty). Every exercise runs in a safe Git environment inside your browser, so there is nothing to install and no real project to break.
After this course, you'll be able to use Git confidently in personal projects and be ready to learn branching and merging for team collaboration in the fundamentals course.
From creating repositories to staging and committing, master the core Git operations. Covers .gitignore and selective staging too.
Use log, diff, and show to review your history, and safely undo mistakes with restore and reset.
Push, clone, and pull to upload your code to GitHub and sync across environments.
We guide you from the very concept of version control, step by step.
Git is essential for managing AI-generated code. Learn to safely record and restore your changes.
Learn what happens behind SourceTree or VS Code, and gain the confidence to work from the command line.
Join thousands of developers who've mastered the terminal. Your first lesson awaits.