All git commands will error until this is rectified.
so I faced this error while running the rasa x.
my solution only works if you are using anaconda prompt.
this is very easy to resolve.
the reason it throws this kind of error because git is not installed in our environment.
just run the below command to solve this issue.run it in anaconda prompt
conda install git
that is it. now you won't see this error again.
thank you .