I Built My Own Git From Scratch (And Here's How You Can) | Git Tutorial

In this 5 hour tutorial, we will build our own Git from scratch using Python! We will understand how operations like init, add, commit, branch, checkout, status and log is implemented in git (by building it ourselves). Source code - https://github.com/RivaanRanawat/git-... Discord Server -   / discord   Timestamps: (00:00:00) Introduction (00:00:23) Setting up the project (00:03:01) Setting up the framework to support CLI input arguments (00:10:31) How does git init work behind the scenes? (00:29:53) How does git add work under the hood? | Staging Area in Git | Blobs & GitObject (01:34:59) How does git commit work under the hood? | Commit, Trees (03:21:04) How goes git checkout work under the hood? | Switching branches in Git (04:15:13) Branching in git | Creating, Deleting & listing branches in Git (04:27:55) git log (04:39:10) git status (05:20:22) Future work & Conclusion Connect With Me Here: GitHub: https://github.com/rivaanranawat Linkedin:   / rivaan-ranawat   Medium:   / namanrivaan   X: https://x.com/RanawatRivaan Instagram:   / optimalcoding