G

Git Fundamentals

Learn the core Git workflow — staging, committing, branching, and merging through an interactive terminal simulator.

Programming v1.0.0 21 uses
Step 1 of 4

Step 1: What is Git?

Git is a version control system that tracks changes to your files. Think of it as an unlimited "undo" system for your project.

Key concepts:

  • Working Directory — your files as they are right now
  • Staging Area — files you've marked to include in the next commit
  • Repository — the saved history of all your commits
Working Directory → git add → Staging Area → git commit → Repository

About This Lab

Git is the most widely used version control system in the world. In this lab, you'll learn the essential Git commands by using a simulated terminal. You'll practice staging files, making commits, creating branches, and merging — all without needing to install anything. By the end, you'll understand the basic Git workflow used by developers everywhere.

How It Works

  1. 1 Read each step's explanation of Git concepts
  2. 2 Type Git commands in the simulated terminal
  3. 3 Press Enter or click 'Run' to execute
  4. 4 Watch the visual state diagram update in real time
  5. 5 Complete the quiz to test your Git knowledge

Translate

ESC