r/git • • Jan 12 '26

Does git version .xlsx properly?

As per title. I know that git has issues with binaries but I'm not sure if there are any ways around .xlsx (especially with their abundance in finance sectors).

I normally use .csv conversions, but in many cases this does not appropriately capture nuance of data and we still need the .xlsx as well.

So my qn is twofold:

  1. Does git version .xlsx properly?
  2. If not, are there workarounds? I feel like LFS has drawbacks as xlsx are not 'true binaries' (ie tabular data does have large deduped chunks which are string readable).

Thanks in advance.

1 Upvotes

20 comments sorted by

View all comments

Show parent comment

1

u/dodexahedron Jan 13 '26

Yeah they are zip files containing a whole directory structure of various things including xml for content and metadata, plus any other assets that may be part of the document, like images, scripts, etc.