I'm trying to run a pre-commit hook that runs lint-staged. When I commit my staged files using Windows PowerShell, I get the following result:

But when I try to commit the files VScode Source Control, it outputs the result to Git Log, which looks like this:

Do you know how can I fix this bad encoding? I suspect that it happens because it probably missing ANSI colors support. I found some related topics:
- https://github.com/microsoft/vscode/issues/38834#issuecomment-454798872 (I tried the suggested extension, but it didn't work for me).
- https://laracasts.com/discuss/channels/general-discussion/cannot-get-ansi-colors-to-work-in-vs-code-git-bash-integrated-terminal
- ANSI colors don't work in VSCode integrated terminal
Thanks