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.

Browse Lessons (read-only)

What will you learn?

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 5,607 students in the Learn Git 2 course

Read reviews of their learning experiences

I can already feel my brain getting bigger.

(5/5)
Yevhen Kniazev profile image

Yevhen Kniazev

Berlin, Germany

Now I have the tools to break prod in ways I never imagined

(5/5)
Brendan Goggins profile image

Brendan Goggins

United States

Excellent course on adv features usually not covered

(5/5)
Andrew  profile image

Andrew

United States

I learned so many commands I didn't know existed.

(5/5)
Stefan Petit-Freres profile image

Stefan Petit-Freres

United States

Fun way to learn more about Git commands

(5/5)
Allan Raphael Liwanag profile image

Allan Raphael Liwanag

Philippines

Rewrite history, resolve conflicts, squash your doubts, stash your lines, revert a bad situation, cherry-pick the best and bisect your way to properly blame your coworkers: its like a game of Civ.

(5/5)
Loic LL profile image

Loic LL

France

I picked up some concepts I hadn’t fully grasped before, and I’m planning to use rebase more often in future projects to make collaboration flow more smoothly.

(5/5)
Muhammad Umair  profile image

Muhammad Umair

Quetta, PK

tHaT teAchIn9 is G0d lEveL

(5/5)
Devesh Patil profile image

Devesh Patil

India

Awesome look at more of the features of git. Learned a lot and much more comfortable with all of git's amazing tools now.

(5/5)
Yuri  profile image

Yuri

United States

Showing 1-9 of 170

Browse Lessons (read-only)

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.