What problem does it solve? Keeping a working branch in sync with its upstream remote involves several error-prone Git steps: fetching, checking ahead/behind counts, rebasing, resolving conflicts, and pushing. This Skill automates that entire flow while enforcing safety rules like never force-pushing without approval. ## Core Features & Use Cases - Upstream Sync: Fetches the remote, checks ahead/behind counts, rebases onto the upstream tracking branch, and pushes local commits. - Branch Publishing: Publishes a branch with no upstream by pushing with -u to a chosen remote, asking the user when multiple remotes exist. - Safe Conflict Handling: Resolves rebase conflicts by preserving both sides' intent, and asks the user when resolution is unclear or before aborting. - Use Case: You finished a feature on a session branch and want to pull the latest main changes and push your work. The Skill commits pending changes, rebases onto upstream, pushes, and verifies the branch is fully in sync. ## Quick Start Ask the assistant to sync the current branch with its upstream remote and push any local commits.