More information:
commands in the git-bash shell work as expected
in the git-bash shell, Git\\bin\\git.exe is called>
I known this question is quite old but I ran into a similar problem. It may help someone else.
To avoid problems with MinGW make, I had to rename sh.exe
to ensure it was not in the path. After that, commands like git rebase
were not working anymore giving the same error as in the question:
fatal: 'rebase' appears to be a git
command, but we were not able to execute it.
Maybe git-rebase is broken?
As soon as I restored sh.exe
, git rebase
restarted to work.