Here below are outputs I got when I opened my vscode, and vscode source control does not work any more after that.
Tried to reinstall Git or vscode for many times but no help. But I have no idea how vscode runs Git inside.
Looking for git in: C:\Program Files\Git\cmd\git.exe
Using git from C:\Program Files\Git\cmd\git.exe
> git rev-parse --git-dir
fatal: not a git repository (or any of the parent directories): .git
> git rev-parse --git-dir
fatal: not a git repository (or any of the parent directories): .git
> git rev-parse --git-dir
fatal: not a git repository (or any of the parent directories): .git
> git rev-parse --git-dir
fatal: not a git repository (or any of the parent directories): .git
> git rev-parse --git-dir
fatal: not a git repository (or any of the parent directories): .git
> git rev-parse --git-dir
fatal: not a git repository (or any of the parent directories): .git
> git rev-parse --git-dir
fatal: not a git repository (or any of the parent directories): .git