577d8524e1 threaded cwd through resolve_usable_git as well as the guard's inspect_git path, but no caller passes it. It also invites a misuse: with a relative cwd the returned path is relative to the parent, so launching it with cwd= would resolve it a second time from the child. The cwd-aware lookup stays on inspect_git and is_usable_git_command, which only classify.