Why do we need Git Plugin in Jenkins?

Jenkins is a continuous integration server and this means it needs to check out source code from a source code repository and build code. Jenkins has excellent support for various source code management systems like CVS, Subversion etc. Git is fast becoming one of the most popular source code management systems. Jenkins works with Git through the Git plugin.

This plugin allows use of git as a build Source Code Management, including repository browsers for several providers. Interaction with the Git runtime is performed by the use of the Git Client Plugin which is only tested on official git client.