Git Basics
8 lessons
Version control with Git — repositories, commits, branches, and GitHub basics.
- 1
What Is Git?
An introduction to version control and why Git is the industry standard for tracking changes.
- 2
What Is a Repository?
Understanding the Git repository — the .git folder, working directory, and staging area.
- 3
git init
Creating a new Git repository with git init and what happens behind the scenes.
- 4
git add
Staging changes with git add — how to prepare files for the next commit.
- 5
git commit
Saving snapshots to history with git commit and writing good commit messages.
- 6
git status
Inspecting the state of your repository with git status — your Git dashboard.
- 7
git log
Exploring commit history with git log — viewing, filtering, and formatting past commits.
- 8
GitHub Basics
Connecting to remote repositories, pushing, pulling, and collaborating on GitHub.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.