Switch to includeIf.gitdir/i: on Windows so path matching is
case-insensitive, matching the filesystem behavior. This fixes
auth failures on self-hosted Windows runners where the workspace
folder casing doesn't match between the runner config and disk.
Also update the cleanup regex to handle both gitdir: and gitdir/i:
variants.
Fixes#2345