this post was submitted on 08 Dec 2023
1477 points (98.3% liked)
Programmer Humor
19659 readers
545 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That...isn't quite right.
Git is a distributed version control system for software development^1.
Version control allows you to manage code versions and changes to code. You take snapshots, so to speak, of every change you make.
Distributed, in this context, means multiple developers can write code on each of their development computers and merge the changes, usually to a centralized git server.
GitHub runs a web-based git server at GitHub.com so teams can store their code in a central location on the internet.
I don't see anything you said that it isn't quite right.
Porn is a distributed form of entertainment.
Porn allows you to get your rocks off. You take views, so to speak and do your thing.
Distributed, in this context, means multiple enjoyers can watch porn on each of their entertainment computers and share the videos, usually to a centralized porn server.
PornHub runs a web-based porn server at pornhub.com so viewers can store their porn in a central location on the internet.
So in the analogy porn corresponds to git? Or to source code?
In this analogy it could be that:
If you read it as "a website providing a service, but that service is also available elsewhere" the analogy makes perfect sense.
Ok, now explain the part you think is not right.
Git is a tool. GitHub is one implementation of a git server. Git is used to manage source code. GitHub hosts / manages source code.
Porn is content. Pornhub is one service that hosts content. Porn is not a tool. Git isn't content. Source code is content.
So porn isn't really analogous to git.
Maybe a better analogy would be... Git is to GitHub as outlook mail client is to outlook server--or Gmail app to Gmail server.
Wait.. it's GitHub.org?
I always assumed it was GitHub.com...
Edit: GitHub.org only seems to support HTTP and then it just does a permanent redirect to GitHub.com
Ugh I'm an idiot. Thanks.
All good 😊 you had me going for a minute though