I took a second to initialize a new public repo that includes the longest file path from the private repo. However, I can’t get it to fail at the cloning step.
link removed
So, maybe it’s something in the real project’s git history that has the side effect of creating a file with a long name, like something in the .git folder itself during initial cloning.