ASCI Logo
ASCI.Academy
LearnPracticeCompeteCareer
Sign InGet Started

Search ASCI Academy

Universal search across Courses, Lessons, Skills, Projects, Challenges, Competitions, Jobs, Internships, and Users

modern git-academy

Curriculum Index

Current LevelInitiate
0/ 500 XP
Gravit Certificate:
100% Required
  • 1.1 How Git Actually Works: The Content-Addressable Store
  • 1.2 The Three Trees: Working Directory, Index, and HEAD
•
1
2
3
4
5
6
7
8
9
10
Pillar 1: Git Fundamentals & Internal DAG Architecture•Lesson 1

The Content-Addressable Store

### Git is a Content-Addressable Store
* **Blob (Binary Large Object):** Stores raw file contents without filenames or permissions.
* **Tree:** Contains directory entries mapping file paths to blob/tree SHAs.
* **Commit:** A snapshot pointing to a root tree, parent commit hash(es), author info, and message.
* **Tag / Reference:** Human-readable pointers (refs/heads/main) to specific commit hashes.
Python 3.11
•
Interactive Challenge
+60 XP
Challenge Objective

Print the 4 core Git object types joined by dashes: 'blob-tree-commit-tag'.

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.