I just got a new laptop and wanted to clone my universities git repository with pycharm
.
Whenever I try to clone the repository, using either Git bash/GUI
See VonC's answer for update on the issue
Git 2.24 breaks existing repositories: filename in tree entry contains backslash
The workaround as suggested by user carlescufi is to disable core.protectNTFS.
git config --global core.protectNTFS false
Quoting git docs here,
core.protectNTFS
If set to true, do not allow checkout of paths that would cause problems with the NTFS filesystem, e.g. conflict with 8.3 "short" names. Defaults to true on Windows, and false elsewhere.