Track one

Git and open source

Eight tutorials, about 45 minutes end to end, taught through analogies rather than jargon. Read them in order, or jump to the one you need.

5 min

Why Version Control?

See why developers save work as a chain of snapshots, and how Git keeps that chain for you.

10 steps - 4 checks

5 min

Your First Commit

Create a repository, stage a file and record your first commit, knowing exactly what each step does.

11 steps - 4 checks

6 min

Branches and Merging

Work on an idea without disturbing main, then bring it back with a merge and a clear message.

12 steps - 5 checks

5 min

Stash: Park Your Half-Done Work

Switch tasks without committing messy work, then bring that work back when you are ready.

10 steps - 4 checks

6 min

Remotes: Clone, Fetch, Rebase, Push

Copy a project, catch up with your team's new commits, and share your own without making a mess.

11 steps - 5 checks

5 min

Tags and Cherry-Pick

Mark a release with a tag, and copy just the commits you need from another branch.

11 steps - 5 checks

6 min

Reading and Fixing History

Find who changed what and when, and undo a bad commit without rewriting history.

12 steps - 5 checks

7 min

Your First Open-Source Contribution

Understand how open-source projects work, then go from fork to pull request with confidence.

12 steps - 5 checks