I configured a gitlab runner as explained here: https://docs.gitlab.com/runner/install/windows.html
Unfortunately, when I push to my repository, my pipeline fails:>
My runner was installed on an Amazon EC2 instance, and I installed git after I installed the runner. I found restarting the entire EC2 instance fixed it. Restarting the service was not enough.