Software Engineering Fundamentals · Version control

Git Tutorial

Distributed collaboration — branching models, merges, bisect workflows, reflog escapes.

Sponsored

Lesson outline

  1. 49
    Squash Commits with Rebase

    Use interactive rebase to squash commits and clean up your Git history. Learn step-by-step with hands-on practice, troubleshooting tips, and what to study next.

  2. 50
    Apply Patches with git apply and git am

    Learn to apply patches using git apply and git am. This lesson covers both commands, their differences, practical use cases, and hands-on steps to integrate patches into your Git workflow.

  3. 51
    Recover Lost Commits with git reflog

    Recover lost commits with git reflog — hands-on Git Tutorial lesson.

  4. 52
    Alter History with filter-branch

    Learn how to rewrite Git history with filter-branch: remove sensitive files, change author info, and more. Step-by-step guide with warnings and safer alternatives.

  5. 53
    Use git worktree for parallel tasks

    Learn how to use git worktree to work on multiple branches simultaneously. This practical lesson explains the concept, step-by-step setup, and when to choose worktrees over other approaches. Includes hands-on exercises and troubleshooting for a solid foundation.

  6. 54
    Automate Git Workflows with Hooks

    Learn how to automate workflows with git hooks in this hands-on Git Tutorial lesson. Covers the core concept, step-by-step walkthrough, and troubleshooting.

  7. 55
    Preview Git Changes

    Learn to preview changes with git diff and git difftool — check modifications, stage diffs, and compare branches before committing.

  8. 56
    GitHub Certification Exam Prep

    Prepare for the GitHub Certification exam with this focused Git Tutorial lesson. Learn what to study, key concepts, hands-on exercises, and troubleshooting tips to boost your confidence.

  9. 57
    GitHub CLI Repository Tasks

    Master GitHub CLI for repository tasks — Git Tutorial.

  10. 58
    Automate Release with GitHub Actions

    Automate releases using GitHub Actions — Git Tutorial.

  11. 59
    Creating and Managing Milestones

    Learn how to create and manage milestones in Git — practical steps, troubleshooting, and what to study next.

    Git Tutorial — step-by-step tutorials

    What you will find here

    This track walks through git tutorial in order — each lesson is server-rendered HTML you can read without JavaScript. Follow the outline, then practice in the browser IDE when a lesson links to runnable code.

    Tutorials vs quizzes and code samples

    Tutorials teach in sequence. For quick checks use quizzes. For copy-paste snippets see code samples. For deeper reading browse articles.