Step 1: Is the program installed? If not, install it.
Step 2: Is its folder in PATH?
which git
where.exe git
Get-Command git
Note: where alone in PowerShell is an alias for Where-Object -- not what you want!
Step 3: Did you restart the terminal after installation?
Many installers modify PATH, but changes only apply to new terminal windows.
Step 4 (advanced): Add the folder to PATH manually. (Ask for help if needed.)
90% of the time, Step 3 fixes it!