Install and manage git with the nesi git puppet module https://github.com/nesi/puppet-git