Co-founder of https://forestry.io here.
Forestry.io is a Git-based CMS that commits content changes to your repo (and optionally builds/deploys your site). Contentful is an API-based CMS, that stores your content and requires you to query their API during/after build time.