The git plugin provides fundamental git operations for Jenkins projects. It can poll, fetch, checkout, and merge contents of git repositories.
The git plugin provides an SCM implementation to be used with the Pipeline SCM checkout
step.
The "Pipeline Syntax" snippet generator guides the user to select git plugin checkout options and provides online help for each of the options.