Git & GitHub Guide
Welcome to the Git & GitHub User Guide. This section is a beginner‑friendly crash course that takes you from zero Git knowledge to everyday, confident use of Git and GitHub.
Git fundamentals
Start here if you're new to Git. You'll learn what problem Git solves, how it thinks about your code, and how to get it installed and configured on your machine.
Git without GitHub
Learn how to use Git locally before involving any remotes. You'll create your first repository, make commits, and practice the everyday Git workflow that you'll use on real projects.
GitHub & remotes
Understand what GitHub adds on top of Git, how remotes work, and when you actually need GitHub. This gives you the mental model for working with local and remote repositories.
Connecting Git to GitHub
Follow a step‑by‑step guide to connect your local Git repository to GitHub using the terminal and the gh CLI. You'll create a GitHub repo, set up SSH authentication, and push your first commit.
Branches & collaboration
Learn how to use branches safely, keep main stable, and collaborate with others using pull requests and GitHub workflows.
Common mistakes & next steps
See how to recover from common Git mistakes without panic, and where to go next once you're comfortable with the basics.