অভ্যন্তরীণভাবে, Git একটি কন্টেন্ট-অ্যাড্রেসেবল অবজেক্ট স্টোর — এটি সবকিছু অবজেক্ট হিসেবে সংরক্ষণ করে (blobs, trees, commits, tags) যা তাদের SHA-1 hash দ্বারা চিহ্নিত। এই মডেলটি বোঝা Git-কে স্পষ্ট করে এবং ব্যাখ্যা করে কেন এর অপারেশনগুলি এভাবে আচরণ করে।
Git একটি কন্টেন্ট-অ্যাড্রেসেবল অবজেক্ট স্টোর
Git stores 4 types of OBJECTS, each identified by the SHA-1 HASH of its content:
BLOB → file CONTENTS (just the data, no filename)
TREE → a directory: maps names → blobs (files) and trees (subdirs) + permissions
COMMIT → a snapshot: points to a TREE (the root) + parent commit(s) + author/message
TAG → an annotated tag object (points to a commit, with metadata)
→ Content-addressable: an object's ID IS the hash of its content (same content = same hash).
