How Git uses Tree data structure concepts?

If you ever worked on Open Source projects at OpenGenus and others or even have an idea about what it is, you would know that majority of them uses Git. What is Git? Git is basically VCS (Version Control System) or more accurately DVCS (Distributed Version Control System) . Git is not to be confused with GitHub. Git is VCS and GitHub is a hosting service for files and projects that use Git. Apart from that, Version Control System is pretty self-explanatory term. It helps track the different versions created over time and provide an space efficient technique to record history and changes made to files and directories.

This is a companion discussion topic for the original entry at