Can’t commit/refresh git repository - when using too long paths on windows

Thank you for your response, Patrick.

There are no branches available:

ps: my other git issue topic is not related to this one, btw. Not trying to push for an answer there, just pointing out that it seems to be a separate issue (different OS, different project). This current topic is on a W10, the one in the link on OSX.