Use JGit, a pure-Java implementation of Git client. This has some additional features (most notably ability to control repository authentication at project level from Jenkins), eliminates the need of installing Git client.

This is still a work in progress and some features might be incomplete.