10 unique and fun Git facts 📝
- Named as a Joke – Linus Torvalds named Git after British slang for “unpleasant person,” poking fun at himself.
- Built in 2 Weeks – Linus wrote the first version of Git in just two weeks in 2005 after the Linux team lost access to BitKeeper.
- Snapshot System – Git stores complete snapshots of files, not just diffs, making it super fast and reliable.
- SHA-1 Everywhere – Every file, commit, and branch is tracked by a 40-character SHA-1 hash, ensuring data integrity.
-
Entire Repo in .git Folder – All history and data live in the hidden
.git
folder; copy it and you’ve cloned the repo. - Distributed by Default – Every clone of a repository is a full backup, no central server required.
-
Reflog Time Machine –
git reflog
lets you recover “lost” commits or branches you thought were gone forever. - Emoji Branches – You can name branches with emojis 🐱👤, 🔥, 🎉, etc.
-
Plumbing vs. Porcelain – Git has hidden low-level “plumbing” commands (like
cat-file
) under its everyday “porcelain” commands (likecommit
). - Used Beyond Code – People use Git to version-control novels, research papers, resumes, recipes—even legal documents.
Top comments (0)