Beginner
Free
8 hours
Git Fundamentals for Engineers
A practical, command-line-first Git course for everyday software work
Learn Git from first principles and build the habits needed for reliable day-to-day development. This course starts with the mental model behind commits, the working tree, and the staging area, then moves into branching, merging, remotes, pull requests, history inspection, undo workflows, and team repository hygiene. Every lesson is text based and includes commands you can run in a local practice repository.
What you will learn
Leave with a working mental model.
- 01 Explain Git's working tree, staging area, commits, branches, and remotes
- 02 Create clean commits and inspect changes before saving them
- 03 Use branches, merges, and conflict resolution safely
- 04 Collaborate through clone, fetch, pull, push, and pull requests
- 05 Recover from common mistakes with restore, revert, reset, reflog, and stash
- 06 Apply a simple feature branch workflow on a real project
Before you begin
Prerequisites
- Comfort using a terminal
- A computer with Git installed or permission to install it
- Basic familiarity with editing text files
Curriculum
Course contents
6 modules · 30 lessons
01 Module 1: Git Mindset and Setup 5 lessons
- 01 Why Version Control Matters Preview
- 02 Installing Git and Setting Identity
- 03 Repositories, Working Tree, Index, and History
- 04 Your First Local Commit
- 05 Module 1 Check: Git Mindset and Setup Quiz
02 Module 2: Everyday Local Workflow 5 lessons
- 01 Reading Status and Diffs Preview
- 02 Staging with Intent
- 03 Writing Useful Commits
- 04 Ignoring Files and Cleaning the Workspace
- 05 Module 2 Check: Everyday Local Workflow Quiz
03 Module 3: Branches and Merges 5 lessons
- 01 Branching Mental Model Preview
- 02 Creating and Switching Branches
- 03 Merging Work Back
- 04 Resolving Merge Conflicts
- 05 Module 3 Check: Branches and Merges Quiz
04 Module 4: Remote Collaboration 5 lessons
- 01 Cloning and Remotes Preview
- 02 Fetch, Pull, and Push
- 03 Working with Pull Requests
- 04 Keeping a Branch Up to Date
- 05 Module 4 Check: Remote Collaboration Quiz
05 Module 5: Inspecting and Repairing History 5 lessons
- 01 Reading Logs and File History Preview
- 02 Undoing Safely with Restore and Revert
- 03 Reset, Reflog, and Recovery
- 04 Stash, Amend, and Cherry-pick
- 05 Module 5 Check: Inspecting and Repairing History Quiz
06 Module 6: Team Workflow and Capstone 5 lessons
- 01 Feature Branch Workflow Preview
- 02 Tags and Releases
- 03 Repository Hygiene for Teams
- 04 Capstone: Ship a Change with Git
- 05 Module 6 Check: Team Workflow and Capstone Quiz