Git and other DVCS basically βbringβ the entire repository to the user. When I have a working copy of git, I also have the entire repository locally on my hard drive. No one else has access to it, but I can share it with the various tools and methods provided by the git system.
Other systems, such as SVN (which Linus mentions in the video), have the entire repository on the same server. Everyone pushes and pulls from this server.
Again, looking at git, my commits are isolated from my computer. When I'm ready for others to have them, I then βpublishβ my add-ons in some way β perhaps on a central server such as SVN, but this is only one option. I could write you my changes.
Data loss prevention
One of the prospects for preventing data loss is that if I have a copy of the entire repository, and you have a copy of the whole repository, if any of us lose our hard drive, we can re-clone the repository. Of course, this assumes that we exchange our progress and strive to achieve a common goal.
Compare this to SVN (or other central repositories), if you lose your server hard drive, you need to restore the repo from the last backup if you have a backup. This means that someone must manage the server and provide backup, etc. DVCS, in some ways, does this in its essence.
Of course, there is also βdata lossβ from errors such as accidental deletion of files, but this applies to all VCS.
Frank v
source share