2. Setting up Git
- Installing Git
- Command line and terminal
- The `git` command
- Configuring Git credentials
- Configuring line endings treatment
- Configuring default branch name
GitByBit is a course that teaches you through practice right in your code editor.
You follow bite-sized instructions, run real Git commands in the terminal or click through your editor’s Git interface, and the course verifies what happened. When something breaks, it tells you why and how to get unstuck. Start from the very basics and learn everything important about Git, bit by bit.
Each lesson in the course takes about 5-10 minutes to complete and requires you to perform a series of Git commands in your code editor. This course is tightly integrated with your code editor, so if you make a mistake, the course can detect it and suggest a solution.
This way, you learn by doing with immediate feedback.
The main course guides you through all the essential Git concepts and commands.
It's a perfect entry point for beginners and a great refresher for more experienced users. By the end of this course, you will be able to work with Git on your solo projects.
I am committed to making the best Git learning experience accessible to everyone. That's why the main course content is completely free of charge. You can start learning Git right now without any payment or registration.
There is an optional premium add-on called GitByBit PRO that is focused on Git commands and workflows used in team settings. By purchasing it, you can also support the further development of GitByBit and help me make it even better. Find out about the PRO features.
Unlike traditional courses that rely on videos or static text, use simulated examples, or make you bounce between your editor and a browser, GitByBit lets you work with the actual Git installed on your computer.
You don’t just read about git commit. You run it in your editor’s integrated terminal and see the results immediately. If you make a mistake, the course detects it and gives instant feedback, so you learn from the error instead of getting stuck.
As you progress through the course, you collect Git commands and concepts, best practices, and expert tips in , your personal Git encyclopedia that you can refer to at any time. It's a great way to remember Git commands and concepts, and to quickly look up things you've forgotten.
It's also a great way to realize how much you've learned over time!
Reinforce your knowledge with fun quizzes that provide you with instant feedback and explain the concepts in more detail. You'll be able to test your knowledge, see how well you've learned the material, and learn new things along the way.
Here's a sample quiz from chapter 6, Git history:
Ever had one of those dreams where you're calmly coding at your desk, completely in the zone, until your team lead walks over and you realize you're not wearing any pants?
And yet, this is exactly how it feels when you face a merge conflict or a rejected push for the first time at your sweet new hard-wonhigh-paying dev job.
Unlock the complete GitByBit experience
and build your Git muscles for real-world projects.
Get access to a whole new section of over 20 lessons that let you practice advanced Git commands and workflows useful in real-world projects.
Practice Git commands and workflows used in team settings. Build your confidence in branching, merging, resolving conflicts, sending pull requests, and more.

Hi, I'm Alexander Shvets, the author of GitByBit and Refactoring.Guru
If you have any questions or feedback about the course, feel free to contact me via email support@gitbybit.com. I'm always happy to help with any issues you might have, and I'm open to suggestions on how to improve the course.