[Common Issue] Netlify CMS API_ERROR. Now what?

Failed to persist entry: API_ERROR: Reference update failed
  • You’re using the editorial workflow but already have a branch called cms. This error is fixed by removing the cms branch from the repo.