Would it be weird to give a github version of a paper to a reviewer? And, would there be an appropriate way to do this?

Basically, I have a paper in a mathematical field that has gone back and forth a few times with a reviewer.  Since the document is in TeX, it is extra hard to keep track of changes and make sure things are addressed.  I believe seeing something like a github history, with edits separated into a few meaningful commits, would help my reviewer check how their comments were addressed, as well as helping me keep track of the changes and preventing more mistakes from popping up.  Would it be strange to give a github link to the paper along with the pdf version when resubmitting it?

Edit note:. The paper itself is on the ArXiV already.
Weird? I don't know. Unusual? Certainly. I have never heard of this, and I would be rather unsettled if it happened to me as a reviewer.

Useful? There lies the rub.


First of all, this is only useful if the reviewer understands how revision control systems work. You can only be sure of that in very computer-centered fields, and even then, there's no absolute guarantee. Since you said "a mathematical field", I can assure you, based on my experience most people don't know or even care about RCSs. So you need to write an accompanying letter outlining the changes which can stand on its own. And if you do, there's little point in including a link to the github repo.
Second of all, I really doubt that seeing a diff of a source file written by someone else is really useful. Especially if it involves crazy diagrams or things like this. Reading a long source tex file from start to finish is not comfortable (ask yourself: when you reread your own papers, do you read the source or the PDF?). This introduces a high cognitive load of mentally parsing all the macros, either standard or your own, and turning it into math. It's definitely not something that you want to bother to do when you're doing volunteer work.
The diffs will also be polluted by fixing the inevitable typos, whitespace changes, and so on. If you do a big reorganization of the paper such as moving paragraphs, the diffs will also not really be useful.


Consider using other tools, such as latexdiff. And before you complain that the output of latexdiff is not good enough in some cases: in those cases, the git diff would not be good enough either.