Beginner · Free · In your browser
Learn Git & GitHub
Learn the version control that almost every software team uses, in a safe practice terminal with a simulated GitHub. Turn a folder into a repository, save focused snapshots and read the history; undo changes safely with restore, revert, reset and stash; work on branches, merge them and resolve conflicts; push to GitHub, clone, pull and recover from a rejected push; propose changes with pull requests; keep passwords and keys out of your repositories; and finish by shipping a tagged release.
No installation. Your code runs right in the browser. Basic terminal commands such as cd, ls, cat and echo; the Linux Command Line course teaches them. Everything runs in a safe practice terminal with a simulated GitHub, so nothing you type reaches a real account.
What you will be able to do
- Save focused snapshots with add and commit, and read history with log, show and diff
- Undo safely with restore, revert, reset and stash
- Work on branches, merge them and resolve conflicts
- Push, pull and open pull requests on GitHub, and keep secrets out of your repositories
Course outline
Your first repository
Create a repository, set your identity, save snapshots, and read the history.
Everyday changes
Read diffs, undo uncommitted changes, ignore files, and write commits people can read.
Branches
Work on branches, merge them, resolve conflicts, and ship a feature in a project.
Working with GitHub
Push to GitHub, clone and pull, and handle a rejected push.
Teamwork and fixing mistakes
Pull requests, revert and reset, and putting work aside with stash.
Safe releases and the capstone
Keep secrets out of Git, then ship a release from branch to tag.
Ready for your first line?
Every lesson is short, hands-on, and checked automatically.
Start learning Git & GitHub →