What problem does it solve? Pushing Git branches often risks losing work: dirty files get swept into commits, a teammate's remote commits get overwritten by force pushes, or detached-HEAD commits disappear. This Skill publishes only existing local commits to a remote branch while protecting local and remote work. ## Core Features & Use Cases - Safe Branch Publication: Pushes the current or named branch to origin or another remote and establishes upstream tracking for later work. - Dirty Worktree Protection: Leaves uncommitted changes local and reports them as not included instead of turning a push into a commit. - Lease-Protected Updates: After a rebase rewrites published history, uses force-with-lease against freshly observed remote state and refuses to overwrite unexpected remote changes. - Detached HEAD Recovery: Derives a concise branch name from the change and publishes detached commits without touching the protected default branch. - Use Case: You rebased onto origin/main and your branch history diverged from the remote. The Skill verifies the divergence is expected, applies a lease-protected update, and confirms the resulting remote commit. ## Quick Start Ask the assistant to push the current branch to origin while keeping your uncommitted files local.