Recently I’ve started to use Git more and more for various projects – code, university stuff and important dotfiles, just to name a few examples. Not completely used to the workflow yet, but I feel pretty comfortable with the basic Git commands now.
In the beginning I had a hard time grasping the concept of Git and version control systems in general. Two online resources helped me a lot in understanding Git, which I also want to share with you:
- The Git Parable
After reading it, you’ll still have no clue how to use Git. But you will know for what purposes Git was designed, and what Git is. From here it’ll be much easier to learn the commands to use Git.
- Pro Git
Online version of the Pro Git book; well written text and many pretty pictures make it easy to understand what happens “behind the scenes”. Goes through most stuff you’ll need to get started with Git.
My own learning experience
Prior to Git, I had no experience with version control systems at all (checking out KDE trunk doesn’t count). Sometimes I copied directories manually as a “version control”, but it would always end up in a mess.
First I tried to go for the “learn by doing” way. This wasn’t very successful – when working on something I would rather focus on finishing it than messing around with Git, in particular if deadlines were involved. In the end I didn’t get to use Git that often.
One day I stumbled upon The Git Parable which I linked to above. After reading it, I felt motivated to learn Git again – especially after hearing that KDE eventually is going to be moved to Git. I got the link to the Pro Git site on IRC and read through the first chapters. Git finally started to make sense.
I hope you’ll find these two links as useful as I did. Happy gitting!