The default file system on macOS is case-retaining but case-insensitive: that is, if you create a file named, e.g., README
, and then ask the OS to open a file named readme
, it will open the file named README
instead.
What this means is that the system itself forbids the existence of both a.jade
and A.jade
: these two names represent a single file, not two separate files. Git cannot overcome this system limitation, so it can only extract one of those two files. To understand this properly, see this answer to a related question.
If you have access to a Linux system, make a clone of the GitLab repository there, rename one of the two files (and make any other necessary changes), commit that, and push the commit. The new commit can then be extracted on your macOS system. Alternatively, see the above linked answer for a method for creating a case-sensitive disk image on your macOS system.