Git & GitHub Essentials
Master version control from day one. Practice commits, branching, merging, pull requests, stashing, and safe undo workflows in an interactive Git terminal.
What you'll build & master
- ✓ Track files cleanly with git init, git status, git add, and atomic commits
- ✓ Create, switch, and merge feature branches without losing work
- ✓ Collaborate with remotes using git push, git pull, and Pull Requests
- ✓ Recover safely from mistakes using git stash, git restore, and git revert
- ✓ Follow a production team workflow from branch creation to merged PR
Course Syllabus
Core Version Control
Collaboration & GitHub
- 18 min
Remotes, Push, Fetch & Pull
Sync your local repository with GitHub using origin, git push, git fetch, and git pull.
- 27 min
Pull Requests & Code Review
Ship production code with feature branches, focused Pull Requests, squash merges, and constructive code reviews.
- 38 min
GitHub Actions & Automated CI/CD
Automate tests, builds, and deployments on every push and Pull Request using .github/workflows YAML files.
Safety & Recovery
- 18 min
Undoing Changes, Stash & Revert
Fix mistakes confidently with git restore, git stash, git reset, and git revert without losing work.
- 27 min
.gitignore & Secrets Hygiene
Keep build artifacts, node_modules, and .env secrets out of Git history using .gitignore and pre-commit checks.
- 38 min
Cherry-Pick & Git Bisect
Copy a single hotfix commit across branches with git cherry-pick and pinpoint regressions in O(log n) steps with git bisect.
- 47 min
Reflog & Emergency Rescue
Recover 'lost' commits and accidentally deleted branches using Git's local safety net, git reflog.