# Git Workflow Utils

> Advanced git operations including branching, commits, merge conflicts, tag creation, and history manipulation.

- Skill: `lord1egypt/git-workflow-utils` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lord1egypt/git-workflow-utils`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lord1egypt/git-workflow-utils/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- License: MIT license
- Author: Lord1Egypt (https://skillmd.com/u/lord1egypt)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/lord1egypt/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

