`fetch` 時に `prune` オプションを使うと、fetch 前にリモートに存在しなくなったリモート追跡ブランチを削除する。 <https://git-scm.com/docs/git-fetch#Documentation/git-fetch.txt---prune> ```sh git fetch --prune ``` `fetch.prune` をグローバルで設定することもできる。 <https://git-scm.com/docs/git-fetch#_pruning>