# Git Workflow Utils

> Advanced git operations including branching, commits, merge conflicts, tag creation, and history manipulation. Use when this capability is needed.

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

---


# Git Workflow Utils

## Overview
Git is a distributed version control system designed to handle everything from small to very large projects.

## When to Use This Skill
Use to script workspace updates, pull-request hooks, or resolve conflicts automatically in agent loops.

## Quick Start (with runnable code examples)

```python
# Run git commands via subprocess
import subprocess

def git_commit_and_push(message: str):
    subprocess.run(["git", "add", "."])
    subprocess.run(["git", "commit", "-m", message])
    subprocess.run(["git", "push"])
```

## Advanced Usage
Handle interactive rebases, git cherry-pick, merge conflict marker parsing, and submodule management.

## Key References
- [Pro Git Book](https://git-scm.com/book/en/v2)

## Dependencies
- Git CLI

---
> Source: [Lord1Egypt/ai-skillforge](https://github.com/Lord1Egypt/ai-skillforge) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-15 -->

