# git-remotes Manage git remote repositories — add/remove/configure remotes, push/pull with safety checks, fetch with pruning, and multi-remote workflows. ## What it does This skill handles remote operations within the git workflow suite. It manages remote configuration (add, remove, rename), fetch operations with pruning, push operations with force-push safety (`--force-with-lease --force-if-includes`), and pull strategies (fast-forward, rebase, merge). It returns structured results suitable for agent composition. ## Usage ``` /git-remotes ``` Describe your remote operation: add a remote, push, pull, fetch, or configure tracking. The skill will handle the operation with appropriate safety checks and return results. ## Files | File | Purpose | |------|---------| | `SKILL.md` | Skill instructions for agents | | `references/README.md` | Describes the references directory contents | | `references/remotes.md` | Full `set-url` variants, shallow-clone/fetch options, force-push mitigation detail, and pull config precedence | | `references/sources.md` | Research sources and provenance |