Learn Git through practice
GitByBit is a unique course that teaches you Git directly in your code editor. You'll follow on-screen instructions and execute Git commands just as you would in your daily work. Starting with the basics, you'll gradually learn everything there is to know about Git, bit by bit.
Main course content
Introduction to version control
Start by seeing why version control exists in the first place. You’ll look at the everyday problems it solves: lost files, tangled versions, and teamwork headaches. Then, see how Git’s snapshot model fixes them. Before typing a single command, you’ll already understand what repositories, commits, and collaboration workflows really mean.
Setting up Git
Get Git running on your machine and make it yours. You’ll install it, open the terminal, and configure basics like your username, email, credentials, and line-ending preferences. By the end, every new repository you create will start from clean, reliable settings.
Putting your project under version control
Create your first project with git init, then learn how the working directory and staging area fit together. You’ll stage files, make commits, and check your progress with git status, building the habit of keeping history neat and understandable.
Resetting unwanted changes
Mistakes happen, but Git makes them painless to undo. You’ll compare edits with git diff, use git restore to roll things back safely, and learn how to refine commits so your project history stays clear and intentional.
Tagging and branching
Explore how Git marks important points in your project and lets you experiment freely. You’ll tag releases, branch off to try new ideas, and merge them back smoothly when they’re ready.
Working with history
Dive into the project timeline. You’ll browse logs, compare past versions, revert commits, and reset branches when plans change. History will turn into a flexible tool for debugging and auditing, not just a record.
Remote repositories and GitHub
Finally, you’ll connect your local work to the wider world. You’ll create a remote repository on GitHub, link it to your project, push and pull updates, and learn how teams share work safely without overwriting each other’s progress.
Gitopedia: your personal Git encyclopedia
As you progress through the course, you'll unlock new Git commands, concepts, and best practices in Gitopedia—your personal Git encyclopedia. You can open it anytime alongside the course to look up a command, revisit a concept, or simply appreciate just how much you've learned.
Fun quizzes
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.
Focused practice PRO feature
Ever had one of those dreams where you're calmly coding at your work desk, completely in the zone, until your team lead walks over and you suddenly realize you're not wearing any pants? This is exactly what it feels like when you face a merge conflict for the first time.
These focused practices prepare you for real-world Git hurdles you'll encounter on the job. You can build confidence and muscle memory so you won't get embarrassed in a team setting. In addition to practicing command-line workflows, you'll also learn how to perform the same tasks in the VS Code interface.
Staging & committing
90% of working with Git is adding stuff under version control. Build muscle memory for putting changes under version control until it becomes second nature. Learn to make precise commits that tell a clear story of your work. Also discover best practices for writing commit messages.
Cleaning the working directory
Real-life development can be messy. Projects may get cluttered with stray edits and files that slip in by accident. Practice cleaning the working directory of unwanted or unintended changes. Also learn about .gitignore, git stash, and other techniques to keep your workspace clean and organized.
Digging through history
When figuring out bugs or understanding code, you often need to look back in time. Who made a change, when, and why? Practice finding specific changes in the project history. Try on the detective hat in a realistic multi-year codebase and trace edits the way developers actually do. Also learn about git blame, every developer's favorite Git command.
Merging, rebasing, and resolving conflicts
Working in a team is easy until you need to combine everyone’s changes. Learn about different merge and rebase strategies, when to use each, and how to recover from mistakes. Practice resolving merge conflicts before they turn into a full-blown code brawl. Also learn about git reflog, every Git pro's secret recovery tool.
Contributing with pull requests
Ever needed to fix a bug in a third-party library or add a feature to an open-source project? Practice contributing to projects on GitHub using the pull-request workflow. Go through every step: fork a repository, create a feature branch, make changes, submit a pull request, respond to feedback, and resolve merge conflicts. Also learn to sync your fork and keep reviewers in the loop.
Learn more →
| |