When software such as Calibre is used to generate epub, what version control is available? To my understanding, git can be made to work with word processors by jumping through hoops. Perhaps there are similar options for ebooks?

See also:


  • I don’t see the point in versioning ePub files (as archives). It would be sufficient to work with Git above the folder structure full of textual files (as a structure for packing up the ePub). Apr 17, 2018 at 12:14
  • 1
    what about jpeg or other binaries? Because git doesn't handle those well. Everything is mostly in text/html?
    – Thufir
    Apr 17, 2018 at 21:33
  • 1
    Yes, therefore you could try something like Apache Subversion. Apr 18, 2018 at 7:48
  • 1
    Git handles jprg as well as subversion does (or as badly).
    – mmmmmm
    Jul 14, 2018 at 8:18

1 Answer 1


Git can be used, but if you use with epub, or any other kind of archive files then you will not get a meaningful diff between versions, just store each version of the ebook. You can use Git wit literally everything, but if it is not like a simple text file, the diff will fail.

Also, you can set Git LFS for such kind of files as ebooks, it has the advantage that it will not download every version of the files when somebody clones it, just the latest version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.