After installing Git on Windows, it won't automatically be added to your PATH
variable. To add it to your PATH
:
Path
and click EditSelect New and add the full paths to your bin
and cmd
folders where Git has been installed. Depending on how you installed Git, you would normally expect to find these folders under:
C:\Program Files\Git\bin
C:\Program Files\Git\cmd
When finished, click OK
{warning} If you installed Git and added it to your PATH variable with Docker Desktop already opened, you'll have to close and reopen it for the new PATH to be read.