git

Guide advanced Git operations including branching, rebasing, cherry-picking, and conflict resolution.

11|1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/michaelrizvi/claude-config --skill git-michaelrizvi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git
Source: https://github.com/michaelrizvi/claude-config/tree/main/skills/git
Command: npx skills add https://github.com/michaelrizvi/claude-config --skill git-michaelrizvi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Advanced Git workflows are error-prone and hard to manage, leading to lost work, messy histories, and painful merges.

Core Features & Use Cases

  • Branch management: create, rename, delete, and compare branches
  • Rebasing and cherry-picking: apply changes across branches with safety checks
  • Conflict resolution: assist in resolving merge and rebase conflicts with clarity
  • History inspection: summarize changes and detect when something broke
  • Stashing and undoing mistakes: save work and revert bad changes

Quick Start

Describe your current Git scenario (for example a merge or rebase with conflicts) and ask for step-by-step guidance.

Frequently Asked Questions about git

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I resolve complex merge and rebase conflicts in my Git history?

To resolve Git conflicts, the Skill guides you step-by-step through applying changes across branches, explaining history clearly while enforcing safety checks. It assists in resolving both merge and rebase conflicts to ensure no work is lost.

What is the safest way to undo a bad commit or revert changes in version control?

The safest way to undo mistakes in version control is using guided stashing and reversion commands. The Skill requires explicit confirmation for destructive actions, ensuring you revert bad changes and save work without losing history.

How do I rebase a feature branch and cherry-pick specific commits safely?

You can rebase a feature branch and cherry-pick commits safely by applying changes across branches with built-in safety checks. The workflow enforces guidelines and requires explicit confirmation before executing destructive branch modifications.

How can I inspect Git history to find out when a specific bug was introduced?

You can inspect Git history to find when a bug was introduced by using history inspection commands to summarize changes. The Skill detects when something broke and presents commit history with clear explanations of what changed.

Does this Git workflow guidance work for managing both feature and release branches?

Yes, this Git workflow guidance works for managing both feature and release branches. It handles advanced operations like branch creation, renaming, deletion, and comparison across these branch types to maintain clean project history.

Why does rebasing go wrong and how do I prevent losing work during branch management?

Rebasing goes wrong and causes lost work when destructive actions are performed without explicit confirmation. The Skill prevents this by enforcing strict safety guidelines during advanced branch management, ensuring you apply changes safely without messy histories.