Apple's software (Finder, mv) lets you rename these. But it's true that some tools (I think git) get confused here.
> The default is false, except git-clone(1) or git-init(1) will probe and set core.ignoreCase true if appropriate when the repository is created.
https://www.kernel.org/pub/software/scm/git/docs/git-config....