git

Guide Git version control and GitHub workflows with commands and strategies.

Updated Jun 21, 2026
One-click install
npx skills add https://github.com/infantesromeroadrian/arca-agent --skill git-infantesromeroadrian
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: git
Source: https://github.com/infantesromeroadrian/arca-agent/tree/main/template/skills/git
Command: npx skills add https://github.com/infantesromeroadrian/arca-agent --skill git-infantesromeroadrian

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to Git version control and GitHub workflows, solving the challenges of managing code versions, collaborating on projects, and setting up efficient workflows.

Core Features & Use Cases

  • Git Commands: Offers a quick reference for common Git commands like cloning, branching, committing, and merging.
  • Configuration: Provides detailed steps for initial setup, SSH setup, GPG signing, and conventional commit formatting.
  • Branching Strategies: Explains Git Flow, GitHub Flow, and Trunk-Based Development, with examples and commands.
  • Common Workflows: Covers starting new features, updating feature branches, squashing commits, fixing mistakes, stashing work, cherry-picking, and more.
  • GitHub CLI: Includes setup and common commands for repository management, pull requests, issues, workflows, and releases.
  • Merge Strategies: Discusses merge commit, squash merge, rebase, and when to use each strategy.
  • Advanced Commands: Explores log & history, diff, reflog, bisect, worktrees, and GitHub features like PR templates and issue templates.
  • Anti-patterns: Highlights common mistakes and provides guidance on best practices.

Quick Start

Use the git skill to configure your Git environment and set up SSH keys for GitHub.

Frequently Asked Questions about git

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Git and set up SSH keys for GitHub?โ–ผ

To configure Git and set up SSH keys for GitHub, you need to initialize your Git environment, generate SSH keys, and add them to your GitHub account. This Skill provides detailed steps for initial setup, SSH configuration, and GPG signing.

What is the best way to manage Git branching strategies for a team?โ–ผ

The best way to manage Git branching strategies depends on your team's workflow. This Skill explains Git Flow, GitHub Flow, and Trunk-Based Development, providing examples and commands to help you choose and implement the right strategy.

How do I squash commits and update a feature branch in Git?โ–ผ

To squash commits and update a feature branch in Git, you use interactive rebase and merge commands. This Skill covers common workflows including starting features, updating branches, squashing commits, and fixing mistakes.

When should I use a merge commit versus a rebase in Git?โ–ผ

You should choose between a merge commit and a rebase in Git based on your project's history requirements. This Skill discusses merge commit, squash merge, and rebase strategies, detailing when to use each approach for optimal results.

How do I use GitHub CLI for repository management and pull requests?โ–ผ

To use GitHub CLI for repository management and pull requests, you utilize specific command-line instructions. This Skill includes setup and common commands for managing repositories, pull requests, issues, workflows, and releases directly from the terminal.

What are common Git anti-patterns and mistakes to avoid?โ–ผ

Common Git anti-patterns and mistakes include improper branching and inefficient commit practices. This Skill highlights frequent errors and provides guidance on best practices to ensure clean version control and efficient collaboration.