Universal search across Courses, Lessons, Skills, Projects, Challenges, Competitions, Jobs, Internships, and Users
•
1
2
3
4
5
6
7
8
9
10
Pillar 1: Git Fundamentals & Internal DAG Architecture•Lesson 2
Working Directory, Index, and HEAD
### The Three States 1. **Working Tree:** The local files you edit on disk. 2. **Index (Staging Area):** The exact snapshot prepared for the next commit via git add. 3. **HEAD:** The pointer referencing your currently checked-out commit.
Python 3.11
•
Interactive Challenge
+65 XP
Challenge Objective
Print 'COUNT:3' to confirm the three conceptual trees in Git.
solution.py
UTF-84 SpacesAuto-saved
cpython3.11:~/workspace
CPython 3.11.8 (WASM)
$python3 -u solution.py
Click "Compile & Run" (or press Ctrl + Enter) to compile AST, verify bytecode, and execute the solution.