• merc@sh.itjust.works
    link
    fedilink
    arrow-up
    53
    ·
    10 months ago

    Git is a DVCS. GitHub is a place where DVCS repositories are hosted. There are many other places where DVCS repositories can be hosted, but GitHub is the most famous one… Porn is a type of content. PornHub is a place where porn is hosted. There are many other places where porn can be hosted, but PornHub is the most famous one. It’s a pretty good analogy.

    • dan@upvote.au
      link
      fedilink
      arrow-up
      6
      ·
      10 months ago

      There are many other places where DVCS repositories can be hosted

      I mean… Everyone that’s cloned the repo has a full copy of it. You could clone it directly off someone else if you wanted to.

      • merc@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        9 months ago

        Sure… and you could pass around porn on thumb drives. But, having a central website where you can browse public repos and clone the interesting ones is a pretty key part of Open Source / Free Software development.

        • dan@upvote.au
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          How many people use Github for discovery though? I usually find interesting projects through a search engine, through word of mouth, through posts on here, etc. at which point it doesn’t really matter where the repo is hosted. A lot of the useful projects I use aren’t even on Github.

          As far as I know, Gitea is current working on federation support, which will be great. It’d be like Lemmy where you can browse repos, submit issues, etc from one instance even if the repo is hosted at a different one. Git was really designed for a model like that, not for a centralized one.