Git: list case-sensitive paths that have collided during clone

  apfs, git, macos, ntfs, windows

When cloning a git repository that contains case-sensitive file paths (e.g. / and / on a case-insensitive file system (like NTFS or APFS), git will only check out one of the colliding files.

In macOS, how can I list all the files that collided because of case insensitivity?

Source: Windows Questions