Skip to main content

Harshal V. LADHE

Git: From Basics to Advanced

Everyday Git commands, plus advanced recovery workflows.

🌱 Git: From Basics to Advanced is your complete, hands-on path to actually understanding Git — not just memorizing commands, but knowing why they work the way they do.

Whether you're just getting comfortable with git commit or you already use Git daily but want to understand what's really happening underneath it, this 2-part series takes you from the everyday loop to the internals and workflows that make Git feel less like a black box.

Here's what you'll explore:

  • Part 1: Git Basics: A Beginner's Guide to Version Control — The core mental model (working directory, staging area, repository), everyday commands like add, commit, diff, and log, keeping untracked junk out with .gitignore, branching and merging, undoing mistakes safely, stashing, and working with remotes.
  • Part 2: Advanced Git: Rebasing, Internals, and Real-World Workflows — Interactive rebasing, cherry-picking, bisect, Git's actual object model and .git directory layout, submodules, worktrees, hooks, disaster recovery with reflog, and the branching workflows real teams use.

By the end of the series, you'll be able to set up a repository, work through a full feature branch lifecycle, clean up messy history before sharing it, and recover confidently when something goes wrong — because you'll understand what Git is actually doing, not just which command to type.

Posts

  • Git Basics: A Beginner's Guide to Version Control

    Master Git's core workflow, from commit to merge.
    A beginner-friendly guide to Git covering setup, the staging area, everyday commands like add/commit/diff/log, .gitignore, branching, merging, undoing mistakes, stashing, remotes, and tags.
    Published at:
    Categories:Git
    Estimated reading time:13 min read
  • Advanced Git: Rebasing, Internals, and Real-World Workflows

    Rebase confidently, understand internals, and recover from anywhere.
    An advanced Git guide covering interactive rebasing, cherry-picking, bisect, Git internals (objects, refs, the .git directory), submodules, worktrees, hooks, reflog-based recovery, and real branching workflows.
    Published at:
    Categories:Git
    Estimated reading time:12 min read

From your first commit to rebasing with confidence — that's the whole arc this series was built to cover. Thanks for sticking with it through both parts. Go put it to use. 🌱

Changelog

  • Initial publication