Wondering how to fix this problem in Windows ?
When i try and use the command \"git push origin master\" I get
git-receive-pack: command not
You need to add the bin folder path where git was installed to the PATHS of the Windows System Environment variables. But if you have installed git using a 64-bit installer the path is different:
C:\Program Files\Git\mingw64\bin
notice the sub path "mingw64".