WEEK 7 · LESSON 2 · TOPIC 6 OF 10 · Why It Matters

Why It Matters

Lesson progress

0% Complete

SECTION 1 OF 1

In this topic · 1 sections
  1. Overview

Overview

Many Git mistakes are location mistakes. A learner may believe a change is safely saved when it exists only in the working directory, or may believe it is on GitHub when it has only been committed locally.

The four-location model removes that ambiguity. Before running a command, ask two questions:

  1. Where is the change now?
  2. Where should it move next?