Hello please I’m trying to comment jenkis to a public repository and each time I git this error Failed to connect to repository : Error performing git command: git.exe ls-remote
Problem Solved using the following steps
1- Make sure git is installed on your Machine
for Windows check c->Program Files → Git → bin → git.exe
otherwise download it
2- Provide a location to git.exe to Jenkins
Mange Jenkins → Tools → Git installations → Path to Git executable
in Path to Git executable add the path of your local computer to git.ext
ex:C:\Program Files\Git\bin