The Problem
Everything works fine on your Mac OS setup, but for some reason, on your Linux server you get the error below. All file names look correct, case sensitive and all.
Class "Some/Namespace/App.php" not found.
The Solution
When you rename a file on Mac and it’s just changing the case, git won’t pick it up. So while you think it’s renamed on the server, it may not be! When renaming a file and it’s just changing the case, use:
git mv app.php App.php