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

Read reviews of their learning experiences

good course.

(3/5)
Nick Sanders profile image

Nick Sanders

United States

A very good Git course with a lot of humor!

(5/5)
Jack  profile image

Jack

Malaysia

Easy introduction to more advanced git topics, including some commands I'd never seen, like bisect.

(5/5)
Mike Meyer profile image

Mike Meyer

Los Angeles, USA

There are wonderful courses on boot.dev. Unfortunately, this isn't one of them. Severely destructive commands like git push --force are taught with a flippancy that is dangerous. They are useful commands to know, but the framing is incredibly casual and the severity is never acknowleded. Additionally, for a lesson on git, this is incredibly difficult to work on across two workstations due to weird, hanging conflicts left intentionally unresolved for longer than necessary.

(2/5)
Isaac Arnold profile image

Isaac Arnold

United States

The exercises in each lesson are interactive and help to build solid knowledge.

(5/5)
Raj Kumar Sunar profile image

Raj Kumar Sunar

United Kingdom

Really fun and useful course, recommend!

(5/5)
Alex Herrera profile image

Alex Herrera

Chile

This is an excellent continuation of the first course.

(5/5)
Mark Eldridge profile image

Mark Eldridge

Adelaide, Australia

This course taught me a lot about advanced concepts of Git - without me bricking my own repos - and built upon the fundamental from Git1 in a really nice clean way.

(5/5)
Hugo D'Arcy profile image

Hugo D'Arcy

Amsterdam

Really good course to practice some interesting git commands that are useful in a collaborative setting.

(5/5)
Ris  profile image

Ris

Trinidad & Tobago

Showing 1-9 of 160

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.