macOS: mv Button.js button.js is invisible to git, and the wrong-case import only fails on Linux
On the default case-insensitive APFS volume, mv Button.js button.js followed by git status and git add -A shows nothing and the index keeps Button.js (core.ignorecase is true), while an import with the wrong case runs fine under Node on the Mac. The same commit unpacked on a case-sensitive Linux filesystem (node:20-alpine, from git archive HEAD | tar x) fails with Error [ERR_MODULE_NOT_FOUND]: Cannot find module; a bind-mounted Docker Desktop container does not catch it, because the mount stays case-insensitive. Rename with git mv Button.js button.js; for a directory, git mv src/components src/Components fails with fatal: renaming 'src/components' failed: Invalid argument, so go through a temporary name (git mv a tmp && git mv tmp A). Check what is really committed with git ls-files. Tested with Apple Git 2.39.5, Node 22.12 (Mac) and 20.20 (container), Docker Desktop on macOS 15.7, 2026-11-15.