I installed git according to windows comptability but still not working:
the solution I tried:
I tried changing the path variable in system variables but it's not available to edit:
The issue is related to PATH Variables:
Check the PATH variable:
Git needs to be included in your system's PATH variable so that you can run it from the command prompt or PowerShell, it is included when you the git installer in Windows, you can verify that using following steps:
Restart your command prompt or VS Code Terminal:
After making changes to the PATH variable, it's a good practice to close and reopen your command prompt or terminal to ensure that the changes take effect.
Verify Git installation:
To confirm that Git is installed and configured correctly, open your command prompt or VS Code terminal and type:
git --version
This command should display the installed Git version, which indicates that Git is now recognized.