How to keep documents (not code) in GitHub with version history

Short answer

What people usually want

What you wantExample
Keep every versionSee last month's version of a manual, and go back to it
Add files without GitDrag a folder of PDFs and Markdown files from the desktop
Edit from anywhereFix a typo in a meeting note from your phone
Keep the files your ownThe files stay in your GitHub repository, not in someone else's service

Your options

How it works with PlainHub

  1. Sign in with GitHub at plainhub.dev and pick a repository.
  2. Drag files or folders from your desktop onto the file list on the left, or choose + New → Upload files. Up to 100 files and 25 MB per file at a time, the same limit as GitHub's own upload. One drop becomes one commit.
  3. Open a Markdown or text file to edit it in the browser or on your phone. Saving writes a commit to your repository.
    Read it formatted, edit it as plain text
  4. Open Version history for a file to see its earlier versions. Saves made close together are grouped into one version, as in Google Docs, while every commit is still kept. Open an earlier version and choose Restore this version to bring its text back; the current text stays in the history.
    History and drafts that wait for you

The files stay in your own GitHub repository. You can still use Git, GitHub Desktop or any other tool on the same repository.

If your documents are spread over more than one repository, add each of them and search across multiple repositories at once: one search box looks through the file names and contents of the repositories you added.

Compared with Google Drive or SharePoint

What feels the sameWhat is different
Drag files and folders in to add themThere is no sync app that mirrors a folder on your PC
Open a file from the list on the left and edit it in placeWord and Excel files can't be opened and edited (text and Markdown are the focus)
See the version history as a list and go back to an earlier versionSharing and permissions are set in GitHub (PlainHub has no share button)

What PlainHub does not do

Which one fits

SituationFits
Upload a few files onceGitHub's website
You work on a PC in a local folder and are fine with commit and pushGitHub Desktop
You already use Obsidian and can set up GitObsidian with a Git plugin
You only need sharing and version history, not GitHubA cloud drive
You want drag and drop, editing on the phone, and version history, with the files in your own GitHub repositoryPlainHub

FAQ

Do I need to know Git? No. With GitHub's website or PlainHub, you add and edit files without Git commands. Git still records every change in the background.

Can I go back to an older version? Yes. Every save is a commit, so earlier versions stay in the repository's history. In PlainHub, Version history shows them for each text file.

Where are my files stored? In your own GitHub repository. PlainHub reads and writes them through GitHub.

Is it free? Yes. PlainHub is free for everyone — individuals, teams and organizations. If your organization needs something PlainHub doesn't include, such as SSO or running it on your own servers, we can build a custom setup for you. See Pricing.

Sources