We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Learn Git

Don't be the developer that uses Git to simply add, commit, push, and pray. Learn how it works under the hood.

What you'll learn in this Git course

Ah, Git. The source control system that every developer uses, but few truly understand. In this course, we'll not just learn how to use Git, but we'll go over some of the plumbing commands that make it all work. By the end, you'll have everything you need to know to get started using Git as a professional developer, plus a bit extra.

Chapter List

1
Setup
Install and configure Git on your local machine
2
Repositories
Learn about Git repositories, what they are, and how to work with commits
3
Internals
Learn how Git stores data on the files system and the plumbing commands that make it all work
4
Config
Learn how to configure Git and set up your user information
5
Branching
Practice creating and switching between branches
6
Merge
Merge changes from one branch into another and learn how merge commits work
7
Rebase
Learn about the cooler way to integrate changes from one branch into another
8
Reset
Learn how to undo changes with the reset command
9
Remote
Setup a remote repository and learn how to push and pull changes
10
GitHub
Learn how to use Git with GitHub, the most popular Git hosting service
11
Gitignore
Learn about using a .gitignore file to exclude files and directories from being tracked by Git.

Join 68,505 students in the Learn Git course

Read reviews of their learning experiences

Very useful and definitely needed without prior knowledge of git.

(5/5)
Pal  profile image

Pal

France

love it

(5/5)
ritzfarhan  profile image

ritzfarhan

Malaysia

Seems like a good course. I'm now able to work using git with no problem.

(4/5)
AdriGiuGiu  profile image

AdriGiuGiu

Italy

Very good on learning git and quite fun.

(5/5)
Maq  profile image

Maq

United States

Good place to start even if you know nothing about git and github.

(5/5)
M.Mehdi Akramzadeh profile image

M.Mehdi Akramzadeh

Turin, Italy

nice

(5/5)
Tobias Klemmer profile image

Tobias Klemmer

Germany

Primagen is hilarious and breaks the complexity of git down into easily digestible concepts and lessons.

(5/5)
Taylor B profile image

Taylor B

United States

The most amazing git course I ever made. This is definitely the only one you will ever need :)

(5/5)
Arthur Gonsales profile image

Arthur Gonsales

Brazil

Great explanations and fun exercises, as always. This one is SUPER necessary. It can be a little confusing a boring, but IN-EV-I-TA-BLE (Thanos finger-snap)

(5/5)
Andrés Sánchez Bahoque profile image

Andrés Sánchez Bahoque

Ecuador

Showing 1-9 of 2317

or view more reviews

Mediocrity doesn't cut it anymore

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

a game-like curriculum

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Frequently asked Questions

Got questions? We've got answers

Committing and pushing is easy. Branches, merges, rebases, and resets are where lots of devs get lost, usually because they never learned how Git works under the hood. This course covers the internals first, so everything else you do in Git makes sense.