This will help to form the release notes. In our release notes, we have to include certain database changes that are related to a specific table, because it affects the usability of the product directly.
These files are only newly added, they are not edited. So in general, they would not have differences. The differences is the whole file.
If we can find the changes on these *.sql file commits, either after a certain commit or since a certain date, it would be nice. From this report, we can browse and separate the ones that has the interested table name.
I am going to be trying with the answers in these posts:
how to show all commited sql files in git from a specific commit on
Get list of files committed on git branch in last month from remote