Sync

Orchestrate Git workflows for commits, branches, merges, and GitHub CLI PRs.

7|1|Updated Jul 12, 2026
One-click install
npx skills add https://github.com/julianobarbosa/claude-code-skills --skill sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Sync
Source: https://github.com/julianobarbosa/claude-code-skills/tree/main/skills/Git-skill
Command: npx skills add https://github.com/julianobarbosa/claude-code-skills --skill sync

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill guides users through fetching, pulling, and pushing to keep local branches aligned with remotes, with safe pull options and conflict handling.

Core Features & Use Cases

  • Fetch + review: Preview remote changes before integrating.
  • Pull strategies: Merge, rebase, or autostash options.
  • Push safety: Push with up-to-date commits and force-with-lease safeguards.

Quick Start

Sync your current feature branch with origin/main using a rebase strategy.

Frequently Asked Questions about Sync

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

FAQPage Schema
How do I keep my local branch synchronized with the remote repository?

Sync your local branch by fetching remote changes, then pulling with your preferred strategy—merge, rebase, or autostash. This updates your branch to match the remote without manual conflict resolution overhead.

What's the difference between fetch, pull, and rebase in Git workflows?

Fetch downloads remote changes without modifying your local branch. Pull integrates those changes via merge or rebase. Rebase replays your commits on top of the remote branch, keeping history linear and reducing merge commits.

How do I push changes safely without overwriting others' work?

Push with force-with-lease safeguards and up-to-date commits. This prevents accidental overwrites of remote changes while allowing legitimate force updates, combining safety protocols with workflow flexibility.

Can I automate Git workflows across fetch, pull, push, and branch management?

Yes. Automate version-control orchestration across commit, push, pull request creation, branch management, merge, rebase, and stash operations with structured workflow routing and per-workflow triggers.

What happens when my local branch conflicts with remote changes during a pull?

Conflict handling is built into pull strategies. Rebase and merge options resolve conflicts differently—rebase replays commits sequentially, while merge creates a commit combining both branches.

Does this support GitHub CLI integration for pull request workflows?

Yes. GitHub CLI integration enables automated pull request creation and management as part of the orchestrated workflow, reducing manual overhead in collaborative code review scenarios.