/** * #2805: /ship's opted-in pre-push guard must install in a linked worktree on * Windows, where `git rev-parse --git-path hooks` returns an absolute path in a * different spelling (C:/… or C:\…) than Git Bash's `pwd` (/c/…). The guard * decides from git's own answers (core.hooksPath unset, hooks directory not a * link), never by string-matching two path spellings. * * Windows-safe by construction: helpers run through explicit `bash