I was trying to learn git and after searching a bit, I finally found some good open-source tutorials. Specifically, I followed those two tutorials, in this order:

  1. https://ohmygit.org/ (a computer application)
  2. https://learngitbranching.js.org/ (a website)

The second seems to cover a bit more advanced topics (it teaches more thoroughly about remote repositories)


Also after an alternativeto search and a post here, I found three more open-source resources:

  1. https://www.gitmastery.me/ (a modern website)
  2. https://github.com/vishal2376/git-coach (an android application covering the very very basics)
  3. https://github.com/jlord/git-it-electron (An old computer application)

PS. Prior to these I had a basic git course, which I think wasn’t enough, but probably helped me either way and after this I had checked some git resources, which gave more of a rounded knowledge about git and I think are worth metnioning:

  1. https://jdsalaro.com/tutorial/git/index.html (this person is here on lemmy too)
  2. https://tom.preston-werner.com/2009/05/19/the-git-parable.html
  3. https://missing.csail.mit.edu/
  4. https://docs.codeberg.org/git/clone-commit-via-cli/
  5. https://github.com/SimonSchubert/LinuxCommandLibrary

Non-gamified resources:

  1. I was recommended a site that explains stuff for real beginners: https://think-like-a-git.net/

  2. Lastly, there’s the pro git book as well for anyone who wants to go even deeper: https://git-scm.com/book/en/v2

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      It’s a version control system, in the absolute broadest sense of the word. You can look at the version of your code, you had yesterday. And your mate can create their own version of your code, which they can later send to you and you can combine it with your version.

      So, in some sense, it’s a time machine and in the other sense, it’s the basis for how collaboration in software development works at all.

  • Swordgeek@lemmy.ca
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    It’s not at all gamified or fancy, but I find the official documentation to be excellent - a step well above the norm these days.

    Bonus: Downloadable as an epub or pdf, creative commons license, and regularly updated.

  • A_Union_of_Kobolds@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Oh god I’m just starting to learn a little shell and Python and now I find out git isn’t just a website with code on it

    I reckon ill be using this bookmark for a while…

  • 0ops@lemm.ee
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Probably the worst way to learn git is “as-you-go” in an actual project. Unfortunately that’s a common way to start, that’s definitely how I started. If I had to learn it again or teach it to somebody else, I’d make a super simple application, like a “Hello World” webpage, and learn and gain confidence with that.

    • Blastboom Strice@mander.xyzOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Haha, this was the first tutorial I was given, though for the reasons you mentioned I didnt follow it. Seems good tho😅