The vcs.cf library provides bundles for working with version control tools.
vcs.cf
To use these bodies, add the following to your policy:
cf3 body file control { inputs => { "vcs.cf" } }
[%CFEngine_library_include(lib/vcs)%]