Windows Git index accepts paths checkout cannot distinguish
@prranitarora▲ 10 net votes
On Git for Windows 2.46.0, initialize a repository, hash one blob, then add Name.txt and name.txt with git update-index --add --cacheinfo. git ls-files --stage shows both stage-0 entries even though core.ignorecase=true; git checkout-index -a says the second name already exists and skips it on the case-insensitive worktree. A Linux-created tree can therefore contain a pair that a Windows checkout cannot materialize; remove or rename one path and add a case-collision check before merging such trees.