The goal of this page is to help you learn version control to get the maximum possible benefit out of it.
First steps for beginners
If you want to learn the basics of version control, including basic usage, there are many good resources out there already. Here are some recommendations:
- Atlassian tutorials on Git – This is an amazing resource. It’s the resource that I personally used to learn most of what I know about git today. It takes you from complete beginner to an intermediate / advanced git user.
- Pro Git by Scott Chacon and Ben Straub – Trusted colleagues of mine, who are considered git experts at my work, recommend this book. I’ve only read parts of it (it’s on my list to read fully sometime) and it seemed pretty good. It seems suitable for all levels, from beginner to advanced.
Other than those resources, any git tutorial you can find will probably help. Even better, many beginner programming courses use basic version control as they work through small projects. Those kinds of courses are great because they teach you git in a usable way, emulating how you would use it in a job.
About version control
For the most part, version control just allows you you to try out different things with code. If it doesn’t work out, you can switch back to a different version. It’s quite sophisticated in how it works and it provides additional benefits, but that’s one of the main ones.
For more information on the basic definition, please see the Wikipedia article on version control or the beginner resources listed above.
Also, consider reading these posts:
Important guides on version control
For detailed guides on how to use and apply different aspects of version control, please see these articles:
- Branches (version control) – The ultimate guide
- Commit structure – The ultimate guide
- Commit messages – The ultimate guide
Other tips for version control
Here are some more tips on using version control effectively while you work: