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

Learn Git 2

Move from solo Git to team Git: understand remotes, branches, pull requests, conflicts and worktrees.

What you'll learn in this Git course

The second installment of our complete Git course. In this advanced course you'll learn how to use Git to collaborate on teams of developers. We will focus a lot more on conflicts and how to safely resolve and revert the natural issues that arise when working on large software teams.

Chapter List

1
Fork
Learn how to fork a repository and contribute to open source projects
2
Reflog
Work with the reference log to recover lost commits
3
Merge Conflicts
Understand merge conflicts, how they arise, and how to resolve them
4
Rebase Conflicts
Learn about rebase conflicts and how to safely keep the project history clean
5
Squash
Many teams require developers to squash commits, learn how and why you would do it
6
Stash
You don't always need to use branches to work on multiple things at once, learn how the stash can save time
7
Revert
Git reset is a bit of a blunt tool, learn about git revert and how to safely undo changes
8
Cherry Pick
Use git cherry pick to selectively move changes from one branch to another
9
Bisect
Slogging through git history can be time consuming, learn how git bisect can find bugs fast
10
Worktrees
Learn when git worktrees can be better than regular old branches when it comes to parallel development
11
Tags
Learn how to use git tags properly to version and release your code

Join 6,301 students in the Learn Git 2 course

Read reviews of their learning experiences

Great course. Well-explained and fun.

(5/5)
Тарас Бенько profile image

Тарас Бенько

Ukraine

Must do course if you are working in a large or even small team that uses version control (I hope you use version control). It provides way more insight then Learn Git 1 and you will come out knowing way more about Git then a normal person should know. WE NEED LEARN GIT 3

(5/5)
Duvall Flandrin profile image

Duvall Flandrin

United Kingdom

This is the best Git course ever. You are totally HANDS ON with this course.

(5/5)
Anurag Nayak profile image

Anurag Nayak

India

primeagen make more courses pls

(5/5)
John Martin profile image

John Martin

Belleville, NJ

It's a recommended course right after the "Learn Git"! Take your spell book with you on the rest of your journey, because you are going to need it.

(5/5)
Fernando Cardozo profile image

Fernando Cardozo

Paraguay

Did this one immediately following git 1, can only recommend.

(5/5)
chinatree  profile image

chinatree

Germany

Learn Git 2 is a great intro to Git features and workflows that come in handy to know when working with a team. Perfect companion course to the first Git class.

(5/5)
Peter Schwenk profile image

Peter Schwenk

Newark, DE, USA

A fun learning experience to understand a fundamental tool for developers!

(5/5)
3313  profile image

3313

Italy

I didn't know about git bisect, its awesome

(5/5)
Vatsal Uppal profile image

Vatsal Uppal

India

Showing 1-9 of 207

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.