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

Read reviews of their learning experiences

Great Course I learned a lot of new things about git

(5/5)
Guilherme Zanella profile image

Guilherme Zanella

Brazil

Great, I got to learn how to use Git in a team.

(5/5)
Chen  profile image

Chen

Chongqing, China

(Funny examples to learn rebase and other introductory-but-not-frequently-used Git commands)-agen.

(5/5)
Manuel Loaiza profile image

Manuel Loaiza

Lima, Peru

Learnt a couple of cool things that I normally would never have cared to learn Really incredible insight and a wonderful course from Prime Well, that's all she wrote-agen

(4/5)
Sen Mid profile image

Sen Mid

Nigeria

Nice, short and to the point. Covers very important topics needed for working with git with others, such as forking, cloning, merge conflicts, rebase conflicts, reset vs revert, and more. Quick to go through but lots learned!

(5/5)
Calliergon  profile image

Calliergon

Canada

git 1 and git 2 is awesome to learn deep dive understand how to use and config git in working

(5/5)
Phạm Quý profile image

Phạm Quý

Hồ Chí Minh

nice one

(5/5)
Ibraheem Abdel Haq profile image

Ibraheem Abdel Haq

Palestinian Territories

really comfy course learnt a lot

(5/5)
Sudhanshu Singh profile image

Sudhanshu Singh

India

cool

(5/5)
chakib lahrach profile image

chakib lahrach

Paris

Showing 1-9 of 193

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.