Git does not preserve lastmod time for files, so I’m unsure how you’re getting this:
So even when trying to do something like: tejal/astro.config.ts at v9 · hrishikesh-k/tejal, you still need to use mtimestore or something similar: tejal/mtimestore at v9 · hrishikesh-k/tejal. All of that is required unless you’re building locally.
Try that out and let me know if that changes anything.