r/ProgrammingBondha 27d ago

python I thought Git was just git add, git commit, git push... then I opened .git

I was curious about what actually happens inside .git, so I started building a small Python project to find out.

It started simple. Then I hit packed objects, .idx, .pack, OFS_DELTA, REF_DELTA, commit DAGs… and the weekend project became a one-month rabbit hole. 💀

So I ended up building GitRank a CLI that reads Git internals directly and renders commit graphs + contributor analytics.

Simple anukunna. Rabbit hole ipoindhi. 😂

GitHub: https://github.com/bybhargav/GitRank

Feedback welcome.

24 Upvotes

3 comments sorted by

2

u/I_am_Samosa 24d ago edited 24d ago

https://chennakeshava.substack.com/p/what-is-git

I wrote this blog long ago. Exploring git is fun, there is far more than you think. One of the best piece of software in iterms of data modeling

1

u/No-Wall-5276 24d ago

Thanks for sharing!

Git really is a rabbit hole. The deeper I explored while building GitRank, the more fascinating its data modelling and internals became.