• Eiim@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      0
      arrow-down
      2
      ·
      2 months ago

      Git is not a blockchain. Most importantly, it’s not distributed. There’s a singular git server that all git clients for that repository connect to and use as a source of truth.

      • breakingcups@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        That is patently false. It was developed to help develop the Linux kernel, which famously has multiple decentralized repositories managed by different maintainers.

        The fact that most companies use it in a way you describe, with only one central repository, does not mean that git is not distributed.

        • _MusicJunkie@beehaw.org
          link
          fedilink
          arrow-up
          0
          arrow-down
          1
          ·
          2 months ago

          For each project there is one authoritative instance, one “server” that everyone pushes to. Otherwise you get chaos.

          • perishthethought@lemm.ee
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            2 months ago

            That may be how you use it, but that’s not baked into git. See my previous response. There’s a bunch of FUD in this thread for some reason.

          • Thann@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 months ago

            And nobody ever forked a project, and lived happily ever after, then end.

            • _MusicJunkie@beehaw.org
              link
              fedilink
              arrow-up
              0
              arrow-down
              1
              ·
              2 months ago

              If you want to work with the original project, you have to push to the server that controls the original project.

              • Thann@lemmy.ml
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 months ago

                No you don’t, you can just fork it, add a commit, and walk away, and everyone can decide which one they want to clone

          • Asyx@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            2 months ago

            That’s not a git thing though. You can totally have multiple remotes and the remotes are just git repositories themselves. Git is 100% decentralized. There is technically nothing stopping you from having multiple remotes.