Content Version for Git

Content Version for Git

Details
View on WordPress

Content Version for Git stores editable WordPress content snapshots in a configured GitHub repository. It versions posts, pages, terms, and optionally media metadata and original media files. Editors can preview, diff, and restore previous versions from the WordPress admin.

The plugin writes and reads Git objects through the GitHub API. It does not keep a local Git repository and does not call the git CLI.

Features include:

  • Automatic Git versions for normal post and page saves.
  • Side-by-side content diffs and field diffs.
  • Full restore and content-only restore modes.
  • Deleted Resources view for posts, pages, and tracked media.
  • Restore deleted posts/pages as new drafts and deleted media as new attachments.
  • Optional media metadata and file tracking.
  • Manual import of existing posts, pages, and media.
  • Version store dashboard with branch, latest commit, tracked file count, and GitHub sync status.
  • Direct GitHub API commits without a local Git worktree.

External Services

This plugin connects to GitHub when the “Save to GitHub” setting is enabled and a repository URL, branch, and personal access token are configured.

When enabled, the plugin writes Git commits directly to the configured GitHub repository using the GitHub API. Commit data may include post/page content, metadata, term references, media metadata, and media files if media tracking is enabled.

GitHub sync is disabled by default. No data is sent to GitHub unless a site administrator enables and configures it. GitHub’s terms and privacy policy apply:

  • https://docs.github.com/en/site-policy/github-terms/github-terms-of-service
  • https://docs.github.com/en/site-policy/privacy-policies/github-privacy-statement

Details

Plugin code:
content-version-for-git
Plugin version:
0.1.3
Author:
Outdated:
No
WP version:
6.0 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.0
Total installations:
0
Last updated:
2026-06-15
Rating:
Times rated:
0
content
git
github
revisions
version-control