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

This lesson's interactive features are locked, please to keep using them

Welcome to Learn Git 2

Where you'll learn to use Git with a team. If you haven't taken the first Git course yet, I recommend starting with it. It contains:

  • Basic Git operations
    • Staging
    • Committing
    • Pushing/Pulling
    • Branching
    • Merging
    • Rebasing
  • Git internals
  • Git log
  • Git remote

The stuff in the first course is great if you work by yourself... but you'll need to know more if you want to stand a chance as a developer at MegaCorp™ where we sell synergistic CRM (customer relationship management) solutions to the "enterprise."

This course (part 2) will enable you to work effectively in small or large teams and we will go over:

  • Conflicts with rebase and merge
  • Our work vs. their work
  • Git head, reflog, and recovering work
  • Git stash and worktrees
  • Git bisect
  • Git revert and cherry-pick
  • Tags and releases

Click to play video

for Windows Users

If you try to complete this course without WSL 2 installed on Windows, you're gonna have a bad time.

Assignment

This course assumes you completed Learn Git 1 and have already done the following:

  • You will need the Boot.dev CLI installed, and you'll need to be logged in.
  • You will also need Git installed, at version 2.46.0 or higher, if you don't already have it.
  • Be sure to authenticate your local Git configuration with your GitHub account.

I recommend installing the GitHub CLI for easy authentication and integration with GitHub. One simple installation method is to use Webi by running:

curl -sS https://webi.sh/gh | sh

Then make sure you're authenticated by running this command to log in through your browser:

gh auth login

Run and submit the CLI tests.