I’ve always done development (and everything else) on Linux and macOS and only switch to a Windows box to test compatibility. While developing in Zig, I went over to Windows and merrily cloned one of my repos to find that it didn’t compile. The errors were all mentioning line breaks such as \n etc. After a while searching the Web, I found this comment which solved the problem for me.
The TL;DR is, on Windows when cloning a repo use this command:
Ugh, yes, this has caught me in the past. I’m always left dazed and bewildered - it’s a glimpse at an alternate universe where FTP still reigns and Clippy chases us through darkened hallways screaming in modals about OneDrive credentials.