In Windows When using git commit in a path with spaces, it prompts Cannot read "xxx": No such file or directory Reduce: 1.Init a respository at "C:/te st"; 2.cd "C:/te st" 3.git add . 4.git commit 5.fatal: could not read 'C:/te': No such file or directory