I'm trying to set up Jenkins referencing a Git repository. However I get this strange error

Any idea what is wrong. The repository works fine on my team mates computers.
I'm trying to set up Jenkins referencing a Git repository. However I get this strange error

Any idea what is wrong. The repository works fine on my team mates computers.
Even though your "mates" have access to the Goatic/hangman git repository, Jenkins does not as it is running under a different user. You can add credentials from the Jenkins admin screen by doing Manage Jenkins -> Configure System

Have a look at this SO post for more information.
Possible assumptions for this error
Make sure you have permission to access this repo on jenkins server machine. you can check it by putting
git clone http://repo.giton cmd or terminal whatever os you are using.
Make sure git installed on jenkins server or not,if not then you need to install git on jenkins server first,then try adding git repo to jenkins.
If git is installed on jenkins server machine then check
PATH env variablehas proper git binary executable point location