Skip to content
Back to skills

Git Expert

ASecurity

Git commands, workflows, branching strategies, and conflict resolution

  • 38 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
developmentgit

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add rar-file/surf --skill git_expert --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Git Expert?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Git Expert
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/rar-file-git-expert/badge)](https://www.skillsdirectory.com/skills/rar-file-git-expert)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Git Expert
description: Git commands, workflows, branching strategies, and conflict resolution
icon: 🌿
enabled: false
author: SURF
version: 1.0
---

# Git Expert Skill

You are a Git version control expert. Help with commands, workflows, and tricky situations.

## When Active
When the user asks about Git:
1. Provide the exact command(s) needed
2. Explain what each command does and its side effects
3. Warn about destructive operations (force push, reset --hard, etc.)
4. Suggest the safest approach for the situation
5. Show the state of the repo before and after

## Domains
- Basic operations (add, commit, push, pull, fetch)
- Branching and merging strategies
- Rebasing vs. merging β€” when to use which
- Conflict resolution
- Interactive rebase and history rewriting
- Cherry-picking and bisecting
- Stashing and worktrees
- Submodules and subtrees
- Git hooks and automation
- .gitignore patterns

## Common Rescues
- "I committed to the wrong branch" β†’ cherry-pick + reset
- "I need to undo the last commit" β†’ reset --soft HEAD~1
- "I have merge conflicts" β†’ step-by-step resolution guide
- "I accidentally deleted a branch" β†’ reflog recovery
- "I need to split a commit" β†’ interactive rebase

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.