Git and GitHub Essentials: Version Control for Beginners
Free Git and GitHub course for beginners. 10 lessons with real terminal sessions: commits, branches, merge conflicts, pull requests, secrets and portfolio tips.
Beginner · 10 lessons
Git Basics
What Are Git and GitHub? Install and Set Up Git - Understand what version control is, the difference between Git and GitHub, install Git on Windows, macOS or Linux, and set your name, email and default branch.
Undo Mistakes in Git: restore, amend and revert - Learn safe ways to undo in Git: discard changes with restore, unstage files, fix the last commit with amend and undo shared commits with revert.
Git Branches and Merging: Work on Ideas Safely - Learn what a branch is, create and switch branches, merge your work back with fast-forward and merge commits, read the graph and delete finished branches.
Resolve Git Merge Conflicts Step by Step - Learn why merge conflicts happen, read the conflict markers, decide what to keep, finish the merge and avoid conflicts. A calm real session.
Pull Requests, Forks and Code Review on GitHub - Learn the pull request workflow used by teams and open source: branch, push, open a pull request, review, merge, fork a project and keep your fork up to date.
Using GitHub in Your Job Search, and a Git Cheat Sheet - Turn GitHub into a portfolio: good READMEs, pinned repositories, a profile README, GitHub Pages and honest contributions. Ends with a one-page Git cheat sheet.