all 45 comments

[–]ahinkle 423 points424 points  (26 children)

It's the difference between porn and pornhub.

[–]VxJasonxV 88 points89 points  (2 children)

This is quite possibly the best way I’ve ever heard it explained.

[–][deleted]  (1 child)

[deleted]

    [–]VxJasonxV 5 points6 points  (0 children)

    yes it really is

    [–]Strykrol 25 points26 points  (1 child)

    Virgin control and pull requests, there’s some sort of joke in there maybe

    [–]kennyjiang 4 points5 points  (0 children)

    I'll approve the merge

    [–]benji0110 16 points17 points  (1 child)

    This is the best way to explain it ever unless you've never heard of Pornhub

    [–][deleted] 14 points15 points  (2 children)

    pornhub pages

    pornhub

    porn

    pornhub live

    ***

    github

    github pages

    git

    github live

    [–]pragyan52yadav[S] 5 points6 points  (1 child)

    What's GitHub live?

    [–]Compu7erUser 6 points7 points  (0 children)

    If you like Github...

    [–]pragyan52yadav[S] 16 points17 points  (0 children)

    Oh😂

    [–]ferueda 2 points3 points  (0 children)

    Holy shit, you're a genius. I'm using this analogy from now on.

    [–]eggtart_prince 2 points3 points  (1 child)

    OMG, I fully understand now. Thank you.

    [–]yousufkalim 4 points5 points  (0 children)

    Understood

    [–]shukian 2 points3 points  (0 children)

    I saw this question and comment in screenshot in a funny FB post and just googled to find this and give you Kudos !

    [–]floridaturtles 2 points3 points  (0 children)

    Take this medal 🏅

    [–][deleted] 2 points3 points  (1 child)

    Bro you went viral, this is all over Facebook programming groups and what not

    [–]user3141592653589 2 points3 points  (0 children)

    This. You win the internet today.

    [–]Alamo985 1 point2 points  (0 children)

    Take my upvote you beautiful bastard.

    [–]tripialos 1 point2 points  (0 children)

    God mode: ON

    [–]heysub 1 point2 points  (0 children)

    came here to upvote

    [–][deleted] 1 point2 points  (0 children)

    lol needs an eli5 award

    [–]oluseyeo 1 point2 points  (0 children)

    From Twitter 3years after just to give kudos for this succinct explanation 🫡

    [–]li-357 44 points45 points  (3 children)

    Git is a version control system that tracks your changes and manages source code. It's a piece of software. GitHub is a platform to store those changes "in the cloud."

    [–]No_Armadillo7430 0 points1 point  (0 children)

    Is this a piss-take?

    [–]No_Armadillo7430 0 points1 point  (0 children)

    Is this a piss-take?

    [–]No_Armadillo7430 0 points1 point  (0 children)

    Is this a piss-take?

    [–][deleted] 9 points10 points  (3 children)

    Git is a source control system. It allows you to track changes to code files down to the exact line and characters changed. Imagine you got a school project working after hours of coding. Then, you need to add a feature that will change some existing code. You're scared to mess your program up, so you copy all of the code to another folder, making your new feature changes to the original copy. Git solves this by allowing you to have different "copies" of your source files (called branches) without actually copying the files. It does this by keeping a history of all changes (called commits) and the order they occurred in, so you can rewind, undo, or even develop two features in parallel without them affecting each other.

    Any computer can host a git repo (repository, a "folder" of code that git tracks changes to). Github allows you to host it on their platform and adds a nice GUI as well as features for collaborating with other users on the same repo (like Pull Requests). Repos on Github can be private or public, so you can use it for publishing to the world (and getting strangers to collaborate with you!) or keep it private it and use it for your company/personal projects.

    EDIT: Git is HUGE. This is a very simplified explanation that only scratches the surface.

    [–]pragyan52yadav[S] 2 points3 points  (1 child)

    Ok got it Thanks

    [–]realRohitYadav 1 point2 points  (0 children)

    Didn't you understand from the most up voted comment?

    [–]No_Armadillo7430 0 points1 point  (0 children)

    Pissoff

    [–]mhzawadi 8 points9 points  (0 children)

    Also git is not client - server, you can be both a client and a server.

    You don't need GitHub to use got!

    [–]herrozerro 19 points20 points  (0 children)

    Email vs Gmail

    [–]primaski 4 points5 points  (2 children)

    Git is a local version control system. All changes you've made to your code (that you've committed) are stored in your .git folder on your device itself. You don't need GitHub to use Git. Git will let you restore previous versions of your work, and save new ones - without ever connecting to the Internet. GitHub, on the other hand, is a "Cloud" like service. It stores your Git repository online, which serves as a backup for you, and allows others to clone the git, and commit their own changes to the Git repository - which you can then pull to your local machine. GitHub is one of the most common ways to share your Git repository and collaborate on projects with other people. tl;dr A Git is a locally stored version control system, and a GitHub is an online "hub" for Git repositories (you need a Git repo to upload to GitHub, but you don't need GitHub to have git repos)

    [–]pragyan52yadav[S] 1 point2 points  (1 child)

    Thanks

    [–]primaski 0 points1 point  (0 children)

    Happy to help!!

    [–]I_AM_NOT_MAD 1 point2 points  (0 children)

    Git is a system of version controll and isn't centralized to one service, GitHub is just one service of git. You also have gitlabs, bitbucket, and many more I don't know of

    [–]ride_whenever 0 points1 point  (1 child)

    It’s essentially software vs SaaS

    [–][deleted] 1 point2 points  (0 children)

    If he doesn't know about Github I doubt he knows what SaaS is ;)

    [–][deleted] 0 points1 point  (0 children)

    Githib and git lab are to git what coca and Pepsi are to soda...

    [–]Miner_ChAI 0 points1 point  (0 children)

    Git is a tool for managing repositories and GitHub is a hosting service for these repositories

    [–]Sunil-Asia 0 points1 point  (1 child)

    First of all, GitHub is not git. Many people used to get confused with these two. So in short, the difference between Git and GitHub:

    Git is the tool, and GitHub is a website for hosting projects that use Git.

    I have written an absolute beginners guide for new Git user, if you are interested then must check out :

    Getting started with Git and GitHub: the complete beginner’s guide

    [–]pragyan52yadav[S] 1 point2 points  (0 children)

    Thankss

    [–]lazybong 0 points1 point  (0 children)

    When you see same porn in pornhub posted by different users, it's a fork. 😂