About Git & GitHub
Git is the version control system almost every software team uses
to track changes, experiment safely, and work on the same code at the same time.
GitHub is the platform built on top of it, where that code is
hosted, reviewed, discussed, and automatically tested. This course starts with
Version Control Fundamentals, which explains what Git is actually
storing (snapshots, commits, and the working directory, staging area, and
repository), and Terminal & Git Setup, which gets your
command line, identity, and editor configured properly.
The Core Git Workflow covers the commands you'll use every day:
add, commit, status, log, and diff. Branching & Merging shows
how to work on features in isolation and bring them back together, including how to
resolve merge conflicts calmly. Undoing Changes
then covers restore, reset, revert, and the reflog, so a mistake
stays a minor problem instead of turning into a disaster.
Remotes & GitHub connects your local repository to the cloud
with clone, push, pull, fetch, and SSH keys. Pull Requests & Code
Review covers how teams actually propose, discuss, and approve changes,
and Rebasing & Rewriting History teaches interactive rebase
and squashing so your history stays clean and readable, along with
the rule for when you should never rewrite it.
Team Workflows & Strategies compares GitHub Flow, Git Flow,
and trunk-based development. Issues, Projects & Open Source
covers planning work on GitHub and contributing to other people's projects through
forks. GitHub Actions & CI/CD automates testing and deployment
on every push. Finally, Advanced Git & Security covers stash,
cherry-pick, bisect, hooks, signed commits, branch protection, and keeping secrets
out of your repository.
Content
12 modules
01
Version Control Fundamentals
Why version control exists, centralized vs distributed systems, and how Git thinks: snapshots, commits, hashes, and the working directory, staging area, and repository.
VCS Basics
Snapshots
Three Trees
02
Terminal & Git Setup
Essential command-line navigation, installing Git on any OS, configuring your name, email, default branch and editor, and creating your first repository with git init.
CLI
git config
git init
03
The Core Git Workflow
The everyday loop of staging and committing, reading status and diffs, exploring history with git log, writing good commit messages, and ignoring files with .gitignore.
add / commit
git log
.gitignore
04
Branching & Merging
Creating and switching branches, what HEAD really points to, fast-forward vs three-way merges, and resolving merge conflicts step by step.
Branches
HEAD
Merge Conflicts
05
Undoing Changes
Discarding edits with restore, amending commits, soft vs mixed vs hard reset, safely reverting public commits, and recovering "lost" work with the reflog.
restore
reset / revert
reflog
06
Remotes & GitHub
Creating a GitHub account and repository, SSH keys and tokens, cloning, pushing, pulling and fetching, tracking branches, and writing a great README.
push / pull
SSH Keys
Remotes
07
Pull Requests & Code Review
Opening a pull request, writing clear descriptions, requesting and giving reviews, suggested changes, and the merge, squash and rebase merge options on GitHub.
Pull Requests
Code Review
Squash Merge
08
Rebasing & Rewriting History
Rebase vs merge, interactive rebase to squash, reorder and edit commits, force-pushing safely with --force-with-lease, and the golden rule of never rewriting shared history.
git rebase -i
Squashing
Force-with-lease
09
Team Workflows & Strategies
GitHub Flow, Git Flow and trunk-based development compared, branch naming conventions, Conventional Commits, semantic versioning, tags and releases.
GitHub Flow
Trunk-Based
SemVer
10
Issues, Projects & Open Source
Tracking work with Issues, labels and milestones, planning with GitHub Projects boards, and contributing to open source through forks, upstream remotes and contribution guidelines.
Issues
Projects
Forks
11
GitHub Actions & CI/CD
Workflow files, triggers, jobs and runners, running tests and linters on every pull request, managing secrets, and deploying automatically — including to GitHub Pages.
Workflows
CI/CD
GitHub Pages
12
Advanced Git & Security
Stash, cherry-pick, bisect, hooks, worktrees and submodules, plus signed commits, branch protection rules, secret scanning, and cleaning leaked credentials from history.
bisect / stash
Signed Commits
Branch Protection
What You Can Do After This Course
By the end of the curriculum you'll have used Git and GitHub the way professional
teams do, from your first commit to automated, protected, reviewed releases.
Concretely, you'll be able to:
Use Git confidently from the terminal: stage, commit, inspect history, and understand what every command is actually doing to your repository.
Branch, merge, and resolve conflicts: work on several features in parallel and bring them together without fear.
Recover from any mistake: undo, revert, or rescue lost commits with reset, revert, and the reflog.
Collaborate like a professional team: open and review pull requests, keep history clean with rebase, and follow a clear branching strategy.
Contribute to open source: fork projects, sync with upstream, and get your pull requests merged by maintainers.
Automate and secure your repositories: build CI/CD pipelines with GitHub Actions, protect key branches, sign commits, and keep secrets out of your code.