I believe you
might be fine even without proper timing.
Merely viewing the license/repository does not constitute acceptance of said license (it's not even a clickwrap contract.) While what you can do with the code without accepting said license is quite limited, by publishing publicly to github in the first place they've presumably agreed to Github's ToS, including section D5 ( https://docs.github.com/en/github/site-policy/github-terms-o... ), which at least grants github users the right to view and fork the repository.
Which, presumably, grants users the right to view the repository in it's older states - where I'd argue the old license still clearly applies to the old code. That said, they could always flatten their git history tomorrow or yank the repository outright, which would leave you relying on pre-existing forks.
I'm also less sure about what you can do with old MIT forks of the software if you implicitly accept the new license terms by, say, using the new software. Does "The Program" refer to that exact version? All versions going forward? All versions past future present and in alternate histories?