If the git
command is unknown in PowerShell, it means Git is either not installed or not in your system’s PATH. To fix this:
- Install Git from the official website.
- Add Git to PATH: Ensure the Git
bin
andcmd
directories are in your system’s PATH environment variable. - Verify Installation: Run
git --version
in PowerShell to check if Git is recognized.
This should resolve the issue.