git: update to v2.2.0

Update to git version v2.2.0, including API changes.