• @orwellianlocksmith
    link
    English
    96 months ago

    I’m dumb, can someone explain this joke to me? Wtf is a git repo?

    • oce 🐆
      link
      fedilink
      English
      21
      edit-2
      6 months ago

      Git is a tool that makes it convenient and lightweight to keep past snapshots of a directory of text files (called a repository) and compare them. It also makes it easy to have multiple people work in parallel on the content of the directory, see the differences and merge everything into a common version. It is essential in programming, it’s called versioning or version control.
      Although it is not easy to access for non programmers because it’s based on slightly obscure command lines. So it’s a bit of an over-engineering to use it for a single file edited by a single person. Especially because you can now put those on the cloud and have some form of version control that allows to easily compare and go back to previous versions graphically.
      It may be worth it if it’s a long document that you work upon for a long time, such as a PhD thesis.

    • @[email protected]
      link
      fedilink
      English
      96 months ago

      Git tracks changes for a folder full of code (aka “repo”) between saves (called “commits”) so you can revert back to previous versions. It’s intended for software but there’s nothing stopping you from using it for documents