Skip to main content

Git & GitHub Basics

Everything you need to start contributing to open source: install Git, make your first commits, use branches, push to GitHub and open your first pull request. Written for students with no prior experience.

Beginner

6 lessons · ~2 h · sign in to track progress

1
What is Git and why open source runs on it

Version control in plain language, and how thousands of volunteers build software together.

10 min
2
Installing Git and configuring your identity

Get Git running on Windows, Linux or Mac and set your name and email for the first time.

15 min
3
Your first repository: init, add, commit

The three commands behind every commit, practised on a tiny local project.

20 min
4
Branches: experiment without breaking anything

Create parallel versions of your project and merge them back when they work.

20 min
5
Pushing to GitHub and opening your first pull request

Put your repo online and learn the pull request flow used by every open source project.

25 min
6
Finding real projects and making your first real contribution

How to read CONTRIBUTING.md, find 'good first issue' labels, and survive code review.

20 min

Sign in with your FOSStar membership to mark lessons complete and keep your progress.