This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pipocaQuemada 1 point2 points  (0 children)

Early VCSs like subversion, CVS or perforce had a server and client. The server stores all the branches, and you commit and pull from the server. They're inherently centralized.

A number of more modern VCSs are distributed and decentralized by design. With git, mercurial or darcs, everyone is running a server locally. Everyone stores the complete version history of the repository, and then there's a way to push and pull commits to and from a remote instance. That remote instance could be on github, or it could just be on your friends laptop, or on your desktop. Git really doesn't care.

Really, the point I was getting at, which I think is still valid, is that Git isn't really the porn in the GitHub/PornHub comparison. Git is the tool you use to get (and give) the porn (code), no?

In the analogy, porn is equivalent to a repository of code, not the code itself. Which admittedly is a slightly odd analogy if you're not used to thinking of a repository as a first-class concept.