# Git

> Git operations including worktrees, branching, and repository management Use when this capability is needed.

- Skill: `tomevault-io/git-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/git-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/git-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/git-2

---


# Git Skills

Git operations for development workflows.

## Sub-Skills

| Skill | Description |
|-------|-------------|
| `git:commit` | Create properly formatted commits |
| `git:rebase` | Rebase branches onto upstream main |
| `git:status` | Show worktrees with PR status and TODO files overview |
| `git:worktree` | Manage git worktrees for parallel development |

## When to Use

- Committing code with proper format (`git:commit`)
- Rebasing branches onto upstream (`git:rebase`)
- Creating worktrees for parallel development (`git:worktree`)
- Managing branches across worktrees
- Setting up isolated development environments

## Quick Commands

```bash
# List worktrees
git worktree list

# Create worktree
git worktree add .worktrees/<name> -b <branch> main

# Remove worktree
git worktree remove .worktrees/<name>

# Prune stale references
git worktree prune
```

## Why Worktrees?

- **Parallel development**: Work on multiple features simultaneously
- **No context switching**: Each worktree has its own working directory
- **CI-like testing**: Test different branches in isolation
- **Code review**: Check out PRs without affecting your work

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/kagenti) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

