
Git Workflow
This is a comprehensive reference for Git workflows that covers the three main branching strategies (GitHub Flow, Trunk-Based, and GitFlow) with clear guidance on when to use each based on team size and release cadence. It includes a solid Conventional Commits guide, practical merge versus rebase rules, and PR templates you can actually use. The conflict resolution section is straightforward without over-explaining. What makes this useful is the decision matrices and the clear "when NOT to rebase" warnings, which address the mistakes teams actually make. If you're setting up Git practices for a new team or trying to standardize an existing workflow, this gives you the templates and rules without the usual Git tutorial bloat.
- skills.sh installs
- 4.2K
- GitHub stars
- 229.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add affaan-m/everything-claude-code --skill git-workflow --agent claude-codeInstalls into .claude/skills of the current project.
Files
Git Workflow Patterns
Best practices for Git version control, branching strategies, and collaborative development.
When to Activate
- Setting up Git workflow for a new project
- Deciding on branching strategy (GitFlow, trunk-based, GitHub flow)
- Writing commit messages and PR descriptions
- Resolving merge conflicts
- Managing releases and version tags
- Onboarding new team members to Git practices
Branching Strategies
GitHub Flow (Simple, Recommended for Most)
Best for continuous deployment and small-to-medium teams.
main (protected, always deployable)
│
├── feature/user-auth → PR → merge to main
├── feature/payment-flow → PR → merge to main
└── fix/login-bug → PR → merge to main
Rules:
mainis always deployable- Create feature branches from
main - Open Pull Request when ready for review
- After approval and CI passes, merge to
main - Deploy immediately after merge
Trunk-Based Development (High-Velocity Teams)
Best for teams with strong CI/CD and feature flags.
main (trunk)
│
├── short-lived feature (1-2 days max)
├── short-lived feature
└── short-lived feature
Sponsors
Details
- Repository
- github.com/affaan-m/everything-claude-code
- Categories
- Git & Pull Requests, Automation & Workflows
- First seen
- May 16, 2026
More from affaan-m/everything-claude-code
All 256- Hexagonal Architecture4.2K
- Remotion Video Creation4.2K
- Santa Method4.2K
- Skill Comply4.2K
- Laravel Verification4.1K
- Nestjs Patterns4.1K
- Autonomous Agent Harness4K
- Benchmark4K
- Brand Voice4K
- Healthcare Phi Compliance4K
- Laravel Plugin Discovery4K
- Repo Scan4K
- Safety Guard4K
- Seo4K
- Agent Payment X4023.9K
- Canary Watch3.9K
- Ck3.9K
- Council3.9K
- Dart Flutter Patterns3.9K
- Healthcare Cdss Patterns3.9K
- Healthcare Emr Patterns3.9K
- Product Lens3.9K
- Token Budget Advisor3.9K
- Customer Billing Ops3.8K