What is the exact error you’re receiving? Where are you storing the git repository? Can you shorten the path to the directory that you’re storing the git repository in?
For example, one theory I have as to why the path may be too long is that you’re storing the git repository in something like:
If you cloned the git repository into:
then the pulling might work better. This is because there’s a maximum path length on macOS of approximately 1,000 characters and no individual component (the part between slashes) can be longer than 255 characters.
So if the error is because the entire path is too long, then my suggestion may help you. If the error is because some individual component name is too long, then the only thing you can do is rename the component in the repository. And if git is choking on the file name (so that GitHub can’t display the repository correctly), then the person on Windows may have to rewrite the repository history to fix the problem.
I hope that helps! Let us know if you have more details or questions.