replace `git status` by `git ls-files ...` to avoid touching .git