• @agent_flounder
    link
    English
    -4
    edit-2
    1 year ago

    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.

    1. Ok, technically, even though It’s often used for software source code, it can be used for any set of files and directories.
    • @[email protected]
      link
      fedilink
      33
      edit-2
      1 year ago

      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.

      • @agent_flounder
        link
        English
        11 year ago

        So in the analogy porn corresponds to git? Or to source code?

        • @[email protected]
          link
          fedilink
          11 year ago

          In this analogy it could be that:

          • the filesystem is git and the porn is source code
          • the file is git and the data is source code
          • you don’t consider the source code because you can host anything on github
          • we shouldn’t be reading into the analogy this deeply because its a silly analogy meant for absolute beginners
    • @[email protected]
      link
      fedilink
      131 year ago

      If you read it as “a website providing a service, but that service is also available elsewhere” the analogy makes perfect sense.

      • @agent_flounder
        link
        English
        21 year ago

        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.