The git problem is probably another “path” issue. Did you add git to your “path” when you installed it? I don’t remember if the installer gives you the option.
Try checking your path and adding the directory where git installed to it. The git executable (git.exe) is probable installed in “C:\Program Files\Git\bin” Here are some instructions for adding a directory to the path: https://helpdeskgeek.com/windows-10/add-windows-path-environment-variable/