Something really bad happened… Cursor is unable to read any folder, I can just work with single files now.
It seems to be a bug that occurs when you have a git repo deeply nested inside another git repo. It completely refuses to read from it.