Document

SUBSCRIBE TO GET FULL ACCESS TO THE E-BOOKS FOR FREE 🎁SUBSCRIBE NOW

Professional Dropdown with Icon

SUBSCRIBE NOW TO GET FREE ACCESS TO EBOOKS

Git tutorials

Git is the one tool every DevOps engineer uses daily, and the one most people only half understand. This series explains the model behind the commands — commits, trees, refs — so that branching, merging and history rewriting stop being scary.

The first lessons cover version control concepts, installing Git, creating a GitHub account and configuring your identity and editor. You then practice the everyday workflow: staging, committing, diffing, ignoring files, tagging releases and synchronizing with a remote (pull, fetch, merge, push).

The advanced chapters are where the series earns its place: local and remote branches, rebase versus merge, squashing commits, reset versus revert, cherry-pick, stash and worktrees. Each command is shown with its effect on the commit graph and the situations where you should — and should not — use it.

Finish with the assignment, which simulates a team workflow with feature branches and conflict resolution.

How to use this hub. Lessons are ordered as a learning path: start at 01 and follow the arrows, or jump to any chapter. 20 lessons, free, no account required.

Learning path

Basics

  1. Git — distributed version control
  2. Version control systems
  3. Git installation
  4. Create a GitHub account
  5. Git configuration
  6. Git workflow commands

Everyday commands

  1. git diff
  2. .gitignore
  3. Tags
  4. Sync with GitHub: pull, fetch, merge, push

Branching and history

  1. Branches
  2. Remote branches
  3. Rebase vs. merge
  4. Squash commits
  5. git reset
  6. git revert
  7. git cherry-pick
  8. git stash
  9. git worktree
  10. Assignment

Other learning paths