---
title: "Git Operations"
category: 05-code
level: intermediate
stability: stable
description: "Apply git operations in AI agent workflows."
added: "2025-03"
---

![Dependency Status](https://img.shields.io/endpoint?url=https://samotech.github.io/skills-tree/badges/skills-05-code-git-operations.json)

# Git Operations

**Category:** `code`  
**Skill Level:** `intermediate`  
**Stability:** `stable`
**Added:** 2025-03

### Description

Perform git version control operations: clone, commit, push, pull, branch, merge, rebase, and diff.

### Example

```bash
git checkout -b feature/new-skill
git add skills/05-code/git-operations.md
git commit -m 'feat: add git operations skill'
git push origin feature/new-skill
```

### Frameworks

- `gitpython` Python library
- GitHub MCP server
- SWE-Agent
- Devin

### Related Skills

- [GitHub API](github-api.md)
- [Shell Command Execution](../04-action-execution/shell-command.md)
