If you want version 1.9.1 of git installed, you will need to have something like this in your vagrant file:
config.vm.provision :chef_solo do |chef|
chef.json = {
"git" => {
"version" => "1.9.1",
"checksum" => "8e300c0b72c2738ca273c38ea9566d5326d554f8bb5f4d6aa40c87783edcd153"
}
}
chef.add_recipe "git::source"
end
Where version is the version of git you want to download (this will become "https://nodeload.github.com/git/git/tar.gz/v1.9.1
")
checksum is a sha256sum of the downloaded file to verify the contents
chef.add_recipe "git::source" will install git from source (the downloaded file above) as opposed to getting it from yum or apt or whatever package manager your distro is using.
Git 1.9.1 will be installed to /usr/local but if you have already got git installed in /usr/bin then you may need to uninstall that first.