git-workflows

Guide Git workflow selection and implementation for team-based development.

1|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/hyukudan/ai-skills --skill git-workflows-hyukudan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflows
Source: https://github.com/hyukudan/ai-skills/tree/main/examples/skills/git-workflows
Command: npx skills add https://github.com/hyukudan/ai-skills --skill git-workflows-hyukudan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you choose and implement the most effective Git workflow for your team's needs, streamlining collaboration and version control.

Core Features & Use Cases

  • Workflow Selection: Provides decision trees and comparisons for Trunk-Based, Git Flow, GitHub Flow, and Forking workflows.
  • Branching Strategies: Details on merge vs. rebase, conflict resolution, and commit strategies.
  • Use Case: A new open-source project needs a clear contribution model; this Skill guides the team to adopt the Forking workflow and set up their PR process.

Quick Start

Guide me through choosing the best Git workflow for a team of 5 developers deploying features daily.

Frequently Asked Questions about git-workflows

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

FAQPage Schema
What is the best Git workflow for a small team deploying features daily?

For a small team deploying features daily, GitHub Flow or Trunk-Based Development is often the best Git workflow because they prioritize short-lived branches and continuous integration. This Skill provides decision frameworks to compare these models based on your specific release cadence and team size.

How do I choose between Git Flow and Trunk-Based Development for version control?

Choosing between Git Flow and Trunk-Based Development depends on your release strategy: Git Flow supports structured, scheduled releases with multiple versions in production, while Trunk-Based Development favors continuous deployment and smaller, faster updates. This Skill provides decision trees to map your team's needs to the right workflow.

When should I use git rebase instead of a merge commit?

You should use git rebase to maintain a linear project history by rewriting your feature branch commits, whereas a merge commit preserves the exact historical context of when branches diverged. This Skill details branching strategies to help you decide between rebase and merge based on your collaboration model.

How do I resolve Git merge conflicts during collaborative development?

Resolving Git merge conflicts during collaborative development requires identifying the conflicting code segments, manually editing the files to combine changes, and staging the resolved files to complete the merge. This Skill provides implementation guidance for conflict resolution and commit best practices.

Does the forking workflow work for internal team collaboration?

The forking workflow is primarily designed for open-source collaboration where external contributors lack direct push access, rather than internal team collaboration. This Skill guides you through selecting the right workflow, detailing how forking compares to Trunk-Based or GitHub Flow for different project structures.

How do I set up a Git branching strategy for a new open-source project?

Setting up a Git branching strategy for a new open-source project involves adopting the forking workflow to manage external contributions and establishing a clear pull request process. This Skill guides your team to implement the appropriate contribution model and commit best practices.