In my case it was a trailing space in the file name, so git clone failed on Windows. After space removing and pushing the changes from Linux, it started working on Windows too.
git clone