6 chapters · 23 lessons

Git Introduction

Intro

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.

About this course

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.

Sample Lessons

Skills you'll learn

Commit Workflow

From creating repositories to staging and committing, master the core Git operations. Covers .gitignore and selective staging too.

Reviewing History & Undoing Changes

Use log, diff, and show to review your history, and safely undo mistakes with restore and reset.

Working with GitHub

Push, clone, and pull to upload your code to GitHub and sync across environments.

Who this course is for

Learning Git for the First Time

We guide you from the very concept of version control, step by step.

Started Writing Code with AI

Git is essential for managing AI-generated code. Learn to safely record and restore your changes.

Using Git Through a GUI Without Really Understanding It

Learn what happens behind SourceTree or VS Code, and gain the confidence to work from the command line.

Syllabus

6 chapters · 23 lessons

1The Version Control Problem
// READY?

BEGIN YOUR
JOURNEY

Join thousands of developers who've mastered the terminal. Your first lesson awaits.