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 will you learn?

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 59,031 students in the Learn Git course

Read reviews of their learning experiences

Great course to introduce the basics of git. Helped me to understand git and uses visualisation tools to visualise branches in real time, for your project specifically

(5/5)
Thomas Rascagneres profile image

Thomas Rascagneres

United Kingdom

Good course

(5/5)
Tito B. profile image

Tito B.

Brazil

Awesome course once again. I feel so much more comfortable working with git now and I've been using it professionally since 2016. I know I should have RTFM.

(5/5)
swayy  profile image

swayy

A galaxy far far away...

A great intro to this tool. I feel very confident in understanding how to use it in future projects.

(5/5)
Jamison Ibister profile image

Jamison Ibister

United States

Really liked it actually. Don't have any complains at all really (except for maybe one lesson that I felt skipped over some stuff) but in general I found this chapter incredibly easy, nice and helpful to follow along to. It was useful, I understand both the functionality and the practicalities of git now. All in all very nice (I appreciated the small jokes too).

(5/5)
Thomas Bøg profile image

Thomas Bøg

Denmark

git add . git commit -m "feat: learn git basics" git push

(5/5)
İbrahim DOĞAN profile image

İbrahim DOĞAN

Turkey

This was entirely new for me! I had previous experience with coding and Ubuntu, but none with Git. This course gave me a great introduction and foundation!

(5/5)
Daniel Ramey profile image

Daniel Ramey

Seattle, WA

Real good introduction to git, it taught me new things even as an experienced dev.

(5/5)
Nahom WG profile image

Nahom WG

Addis Ababa, Ethiopia

really takes you to the basics and is honest about the usability

(4/5)
deepak yanamala profile image

deepak yanamala

India

Showing 1-9 of 1839

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

Yes! It's free to create an account and start learning. You'll get all the immersive and interactive features for free for a few chapters. After that, if you still haven't paid for a membership, you'll be in read-only (content only) mode.