# Jenkins Error (Failed to connect to repository in Jenkins: Error performing command: git ls-remote -h)
###### tags: `Devops` `K8s` `Docker` `Jenkins` `Ansible` `Terraform`
## Git Error Jenkins
## Failed to connect to repository : Error performing command: git ls-remote -h https://github.com/micdoodle8/Crossbow_Mod_2.git HEAD

1. Install the Git in your Linux with:
if git is not installed
```javascript=
# sudo apt-get install git
```

```javascript=
# Which git
# whereis git
```

Copy the path /usr/bin/git

Now the Error is gone
