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:
- https://ohmygit.org/ (a computer application)
- 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, I found two more open-source resources:
- https://github.com/vishal2376/git-coach (an android application covering the very very basics)
- 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:
- https://jdsalaro.com/tutorial/git/index.html (this person is here on lemmy too)
- https://tom.preston-werner.com/2009/05/19/the-git-parable.html
- https://missing.csail.mit.edu/
- https://docs.codeberg.org/git/clone-commit-via-cli/
- https://github.com/SimonSchubert/LinuxCommandLibrary
Lastly, there’s the pro git book as well for anyone who wants to go even deeper: https://git-scm.com/book/en/v2
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.
Indeed, I think my next step is to make a test repo on codeberg and play around before using git more seriously