Software Testing / Learning brief

Tom keeps secrets out of Git and undoes a slip

What this means in plain language

Tom writes an ignore file and undoes a mistake at each of the three places.

Understand the full idea, step by step

Analogy: packing a suitcase with a leave-behind list and correction slips. A list on the door says what never goes in the case, such as the house keys. If you pack something wrong, you can take it out of the open case, out of the closed case, or send a correction slip after the trip has started.

Where you notice decides which fix to use.

Evidence & review

REVIEWED 2026-10-31

The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.

Synthetic Daily List teaching scenario; selected publisher documentation scopes are stated in the source drawer. No live service configuration was tested.

What this brief simplifies: SYNTHETIC / TRAINING ONLY. Commands and policies use the stated local fixture and version; product screens, permissions and workflows can differ. Official figure reproduction is not included.

Sources for this brief — 4 sources
  1. Market practice

    Git gitignore manual (2.51.0) ↗ — Git project · Git 2.51.0 — DESCRIPTION and NOTES: intentionally untracked files; already tracked files unaffected; force-add override.

    DESCRIPTION and NOTES: intentionally untracked files; already tracked files unaffected; force-add override. · Checked 2026-11-07

    Selected publisher sections read for Testing Tools audit. Git 2.51.0. This is not live service testing or a full-publication certification.

  2. Market practice

    Git git-restore manual (2.51.0) ↗ — Git project · Git 2.51.0 — DESCRIPTION and examples: default index source, HEAD with --staged, explicit --source and worktree/index destinations.

    DESCRIPTION and examples: default index source, HEAD with --staged, explicit --source and worktree/index destinations. · Checked 2026-11-07

    Selected publisher sections read for Testing Tools audit. Git 2.51.0. This is not live service testing or a full-publication certification.

  3. Market practice

    Git git-revert manual (2.51.0) ↗ — Git project · Git 2.51.0 — DESCRIPTION: clean worktree and commits recording inverse changes; conflict handling.

    DESCRIPTION: clean worktree and commits recording inverse changes; conflict handling. · Checked 2026-11-07

    Selected publisher sections read for Testing Tools audit. Git 2.51.0. This is not live service testing or a full-publication certification.

  4. Market practice

    Git git-reset manual (2.51.0) ↗ — Git project · Git 2.51.0 — DESCRIPTION and --hard: branch/index/worktree state and loss of uncommitted content.

    DESCRIPTION and --hard: branch/index/worktree state and loss of uncommitted content. · Checked 2026-11-07

    Selected publisher sections read for Testing Tools audit. Git 2.51.0. This is not live service testing or a full-publication certification.

Learn this properly

START HEREGit ignore and undo: keep files out and fix mistakes safelyLearn how to keep secrets and noise out of Git with a gitignore file, and how to undo a change at each of the three places, so a slip is a small thing to fix.Opens at L0 Explain simply · about 16 min

Related briefs

Tom keeps three ideas out of fifteen

Tom asks an assistant for fifteen test ideas for a repeating task. He keeps the three that match a risk, writes one charter, and asks Nina about the one thing the requirement never said out loud.

READ BRIEF