GIT & GITHUB · 8 lessons
Version control to PR-based collaboration, rebase and GitHub Actions CI
From the first steps of version control to PR-based collaboration, rebase and GitHub Actions CI — every example runs with just git + bash.
Lesson 01
Getting Started
Installing Git, config, your first init and commit, and signing up for GitHub
Git installationconfigFirst initFirst commitGitHub signup
Lesson 02
Everyday Work
add, commit, log, diff, .gitignore, aliases and HEAD
addcommitlogdiff.gitignorealiasHEAD
Lesson 03
Branches & Merging
branch, switch, merge, fast-forward vs three-way merges and conflict resolution
branchswitchmergeFF vs 3-wayResolving conflicts
Lesson 04
Remote Repositories
clone, push, pull, fetch, remotes and PAT/SSH authentication
clonepushpullfetchremotePAT/SSH
Lesson 05
GitHub Collaboration
Forks, pull requests, issues, reviews and CODEOWNERS
forkPRIssueReviewCODEOWNERS
Lesson 06
Undoing Changes
reset, revert, restore, reflog and stash
resetrevertrestorereflogstash
Lesson 07
rebase & cherry-pick
Interactive rebase, squashing, cherry-picking and force-with-lease
rebase -isquashcherry-pickforce-with-lease
Lesson 08
GitHub Actions
Workflows, triggers, matrices, caching, artifacts and secrets
workflowtriggermatrixcacheartifactssecrets