Skip to content
C Codeloom

Topics / Git

Git

Version control done right. From your first commit to advanced workflows.

Why learn Git?

  • Mandatory for any professional software job.

  • The skill that separates "code on my laptop" from "code on a team".

  • Lets you experiment fearlessly — every change is recoverable.

  • GitHub workflows (PRs, reviews) are the backbone of modern teamwork.

What you can build with Git

Tracking changes in any project Collaborating via branches and pull requests Maintaining open-source projects Rolling back broken deploys with confidence

Git tutorials

8 articles

Hand-written tutorials, ordered as a recommended learning path.

  1. 01 What is Git? A clear, jargon-light introduction to Git — what it is, why it exists, how it differs from GitHub, and the core mental model every developer needs.
  2. 02 Install & First Commit Install Git on Windows, macOS, or Linux, configure your identity, initialise a repository, and walk through the full life cycle of your first commit.
  3. 03 Branching Learn what a Git branch really is, how to create and switch branches, how to merge work back into main, and how to resolve a simple merge conflict.
  4. 04 Merge vs Rebase A clear comparison of git merge and git rebase — what each one does to history, the trade-offs, the golden rule, and a practical decision guide for beginners.
  5. 05 GitHub Workflow An end-to-end workflow for using Git with GitHub: create a repo, set up SSH, push your code, work with branches and pull requests, and recover from common mistakes.
  6. 06 Stash & Undo Learn to stash work in progress, undo commits with restore, reset, and revert, and recover lost work from the reflog — with clear warnings about which commands rewrite history.
  7. 07 Remotes & PRs Understand Git remotes, the difference between origin and upstream, fetch vs pull, the forking workflow, and how to open a pull request that is easy to review.
  8. 08 Rebase Explained A deeper look at git rebase — the mechanics, interactive rebase with squash/fixup/edit/drop, the golden rule of published branches, conflict resolution, and rerere for repeated conflicts.