Use ensure_packages to make sure git is installed.