• Zwuzelmaus@feddit.org
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    edit-2
    1 day ago

    It is wrong. Git does not need a central system (although most people define one as the central). The local system has a repository, too.

    Commits go into the local repository, not outside.

    Push goes from the local repository (not from a commit that’s hanging in the air) to a remote repository (most times to the “central” one).

    There are pretty good tutorials on youtube. Just be sure to learn git itself first, and then all the website things like github etc.

    • Lucy :3@feddit.org
      link
      fedilink
      arrow-up
      3
      ·
      1 day ago

      Though you can also have multiple remotes each containing a subset or superset of your current branches and commits. Which is fun.