Whenever I run the flutter or dart commands on the command line or PowerShell I get "Error: Unable to find Git in your PATH".
I've already tried to the solutions from other suggestions like making sure the PATH contains:
- C:\Windows\System32
- C:\Windows\System32\WindowsPowerShell\v1.0
- C:\Program Files\Git\bin and/or C:\Program Files\Git\bin\git.exe
- C:\Program Files\Git\cmd
- C:\src\flutter\bin
I reinstalled flutter and still does the same.
I reinstalled Git and tried it on the command line and Git works.
I'm using VS Code and Windows 11, any suggestions?