Git is one of the most popular tool for version contorl system. you can pull code from git repositories using jenkins if you use github plugin.
Follow this artical in YouTube
- Jenkins server **Get Help Here
Install git packages on jenkins server
yum install git -y
-
Install git plugin without restart
Manage Jenkins
>Jenkins Plugins
>available
>github
-
Configure git path
Manage Jenkins
>Global Tool Configuration
>git