git-fetch · git:20260712.e55f142 · 2026-07-12 · sha256 1bf4a0307fe86623

git-fetch git:20260712.e55f142A

Immutable. This exact content is served forever at /api/v1/blob/1bf4a0307fe86623.

---
name: git-fetch
description: Fetch branches and history from remote repositories.
---

# Git Fetch Skill

Download objects and refs from remote repositories without merging.

## Capabilities
- Fetch from origin: `git fetch origin`
- Fetch all remotes: `git fetch --all`
- Fetch specific branch: `git fetch origin <branch>`
- Fetch with tags: `git fetch --tags`
- Fetch and prune: `git fetch --prune` (remove stale remote-tracking branches)
- Fetch with depth: `git fetch --depth <n>` (shallow fetch)
- Fetch specific refspec: `git fetch origin <src>:<dst>`
- Dry run: `git fetch --dry-run`
- Fetch all: `git fetch --all --prune`

## Usage
Triggered when user says "fetch", "git fetch", "check remote", "sync remote branches".
Safer than `git pull` — inspect fetched changes before merging.
Always used before `git log <remote>/<branch>` to check remote state.