Git & GitHub: free course
Save every version of your code, work in teams, and publish your portfolio on GitHub.
Start lesson 1 Open the interactive course Printable course notes
Lessons
- 1 What is Git and why use it? Version control explained from zero, with real-world examples
- 2 Installing and setting up Git (Windows, Mac, Linux)
- 3 Your first repository: init, status, add, commit, log and diff step by step
- 4 .gitignore, good commit messages and viewing history
- 5 Branches and merging: working on features safely, switching, fast-forward and merge commits
- 6 Merging, merge conflicts and rebasing
- 7 GitHub: remotes, push, pull, clone, SSH keys, tokens and a profile that gets you hired
- 8 Pull requests, forks and working in a team
- 9 GitHub Actions and CI: run tests automatically on every push
- 10 Issues, project boards and contributing to open source: your first real contribution
- 11 Publish a website free with GitHub Pages: setup, custom domains, HTTPS and automatic deploys
- 12 Undo mistakes safely: restore, amend, revert, reset, reflog and recovering lost work