To set up Git on Jenkins, you must be assigned the Jenkins Admin role. Git must
also be installed on the computer running Jenkins. If the plugin is already installed
and configured, ignore this section.
Log on to Jenkins using the administrator credentials.
From the links on the left side of the page, click Manage Jenkins.
In the Available tab, search for Git. Under Source Code Management, select the plugin's check box and click Download now and install after restart or Install without restart.