Skip to content
FLAVIO COPES
flaviocopes.com
2026

The Git Guide

By Flavio Copes

Learn Git and GitHub from zero: setup, branches, remotes, pull requests, and fixing mistakes. A curated path through the best Git tutorials.

~~~

Git is a version control system. It tracks every change you make to your code, so you can roll back mistakes, work on multiple things at once, and collaborate with other people without stepping on each other’s toes.

You can’t avoid Git as a developer. Every job, every open source project, every side project runs on it.

The good news: you only need a small set of commands to be productive. This page is your starting point for Git on this site, with a path through the best posts I wrote on the topic.

Where to start

If you’re new, follow these in order:

  1. How to set up Git and GitHub from Zero gets you from nothing to your first repository
  2. A developer’s introduction to GitHub explains the platform where most Git collaboration happens
  3. How to setup the Git SSH keys so you can push without typing passwords
  4. How to make your first Pull Request on GitHub walks you through your first open source contribution
  5. A Git Cheat Sheet is the reference to keep open while you work

Working with branches and remotes

Branches are where Git gets powerful. These posts cover the daily workflow:

Authentication and credentials

GitHub removed password authentication a while ago, and credential setup is a common source of confusion:

When things go wrong

Everyone breaks something eventually. These posts help you recover:

Advanced topics

Once you’re comfortable, submodules let you nest repositories inside each other:

Go deeper

For a compact reference you can keep at hand, download the free Git Cheat Sheet.

If you want the full structured path, from your first commit to rebasing with confidence, that’s what the Git Masterclass is for.

Everything I wrote about Git lives in the git tag.

Tagged: Git · All topics
~~~

Related posts about git: