Interview Preparation¶
Git interviews for DevOps, SRE and platform roles move through rounds that get deeper each time. This folder follows that structure: each round page collects questions at one level, and the scenarios drill the troubleshooting round. It grows as each module is added.
Rounds¶
| Round | Level | What is tested | How it is scored |
|---|---|---|---|
| Round 1: Screening | L1 | Fundamentals: explain, why, difference | Correct, short answers without hesitation |
| Round 2: Hands-On | L2 | Doing a task in a live repository, reading real output | The right command, first time, and knowing its flags |
| Round 3: Troubleshooting | L3 | An open symptom in a broken repository | The path: questions, hypotheses, ordered checks |
| Round 4: Internals | L4 | What Git stores and how commands change it | Mechanism-level explanations and trade-offs |
The mock interviews run three timed sessions that mix all four rounds.
Answer Method¶
Every checkpoint in the topic files uses the same shape, and the same shape works in a live interview:
- Say first: one sentence that answers the question directly (bottom line up front).
- Proof: the command or output that shows it, ideally one you have run.
- Follow-up: the next question the interviewer is likely to ask; preparing it is how an L1 answer leads into an L4 discussion.
A Don't say line records a common wrong answer worth avoiding.
Study Paths¶
| Time available | Path |
|---|---|
| 15 minutes | Must-Know Facts, read once |
| 1 hour | Must-Know Facts, then Round 1 aloud, then one scenario |
| 1 day | Every High-weight topic's checkpoints, all scenarios, one lab |
| 1 week | One module per day: topic files, checkpoints, the module lab |
Scenarios¶
| Scenario | Modules |
|---|---|
| Accidental Commit to Main | 01 Core Workflow, 02 Branching and Merging |
| Wrong-Branch Commits | 01 Core Workflow, 02 Branching and Merging |
| Merge Conflict Resolution | 02 Branching and Merging |
| Detached HEAD | 02 Branching and Merging |
| Diverged Branches, Push Rejected | 03 Remotes and Collaboration |
| Messy History Before a PR | 02 Branching and Merging, 04 Team Workflows |
| Lost Commits After Reset | 05 History and Recovery |
| Committed a Secret | 05 History and Recovery |
| Force-Push Clobbered a Teammate | 03 Remotes and Collaboration, 05 History and Recovery |
| Bloated Repo, Large File | 07 Advanced Tooling |