Git

From x-cmd/x-cmd · View interactive version

Git is an AI agent skill from the GitHub repository x-cmd/x-cmd. Git and code hosting platform management — GitHub, GitLab, Codeberg, Forgejo. Zero barrier — install x-cmd and manage repos from the terminal. Use for "git", "github", "gitlab", "repo", "pull request", "code hosting".

How to use this skill

Skill file

git — skill0

Manage Git repos and code hosting platforms from the command line.

Quick Start

# Install x-cmd
eval "$(curl https://get.x-cmd.com)"

# GitHub repo management
x gh repo list
x gh repo clone owner/repo

# Create a pull request
x gh pr create --title "Fix bug" --body "Description"

# Git hooks management
x git hook

What's Available

| Command | Platform | Description |

|---------|----------|-------------|

| x gh | GitHub | Full GitHub CLI integration |

| x gl | GitLab | GitLab project management |

| x cb | Codeberg | Codeberg integration |

| x git hook | Local | Git hooks management |

This skill0 grows

Starting with GitHub basics. Will add:

Full experience

x git --help for all options after installing x-cmd.

Related

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.