# Git Workflow

> Manage git operations including branching, commits, and pull requests. Use when working with version control or when user mentions git, commits, branches, or PRs. Use when this capability is needed.

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

---


# Git Workflow Instructions

## Branch Management

When creating branches:
- Use descriptive names: `feature/`, `fix/`, `docs/`, `refactor/`
- Keep names lowercase with hyphens
- Example: `feature/add-user-auth`

## Commit Messages

Follow conventional commits:
```
<type>(<scope>): <description>

[optional body]

[optional footer]
```

Types: feat, fix, docs, style, refactor, test, chore

## Pull Request Workflow

1. Ensure branch is up to date with main
2. Run tests locally before pushing
3. Create PR with descriptive title and body
4. Link related issues
5. Request appropriate reviewers

## Common Commands

```bash
# Create feature branch
git checkout -b feature/my-feature

# Stage and commit
git add -p  # Interactive staging
git commit -m "feat(scope): description"

# Push and create PR
git push -u origin HEAD
```

---
> Source: [vinayprograms/agent](https://github.com/vinayprograms/agent) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-16 -->

