Git & GitHub Engineering Lab

Interactive 3-Pane Simulator

Taiwan Tech Interactive Software Engineering Lab • Clean Architecture

MODULE 1 OF 5 Step 1 / 8

Git Foundation & 3-Tree Architecture

πŸ’‘

How to Imagine This (Mental Model)

Think of your computer project like an artist's craft room! Your files live on your Working Desk. Git provides a staging tray where you arrange snapshots before preserving them into the permanent photo album.

Task 1.1 Command Line

Configure User Name

Set your global author identity in Git so every snapshot you record is signed with your name.

Command to type:
git config --global user.name "Your Name"
MODULE TASKS 0 of 8 completed
bash: ~/website-lab
main
Git & GitHub Professional CLI Environment v2.44.0
Taiwan Tech Software Engineering Lab • Interactive Bash Workspace
Type suggested commands or exploratory Git commands (git status, git log --graph, git diff).
student@lab:~/website-lab (main)$
Shortcuts:
Press Enter ↡ to run
LIVE STATE

πŸ—‚οΈ 3-Tree Snapshot Pipeline

Desk → Photo Tray (Index) → Photo Album

HEAD → main
✏️ 1. Working Room (Your Desk) 2 Files

Files you are currently writing on or drawing with nano.

↓ git add <file> (Place in Photo Tray) ↓
πŸ“‹ 2. Staging Area (Photo Tray) 0 Queued

Items neatly placed in the tray waiting for the Polaroid photo.

↓ git commit -m "..." (Snap Instant Photo) ↓
πŸ“Έ 3. Local Repository (Photo Album) 0 Photos

Permanent, unchangeable snapshots stored in history.