Hi, I do not understand why the same command works on linux and not on windows. Is the pathspecs syntax differ or there is a problem on the git windows version? * On windows (git version 2.31.1.windows.1) git status -- 'src/test.js' On branch master nothing to commit, working tree clean * On linux (wsl: git version 2.25.1) git status -- 'src/test.js' On branch master Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) modified: src/test.js A classic git status gives the same result between linux and windows (with correct file detected). Regards,