I work a lot with Github and we, at Secured Globe, Inc. manage our own repo as well. When our programmers push changes in the source code, I somestime need to revert back and I do that by going to the previous version, download it, and compare to the recent one, then update it and push.
I contacted Github’s support after finding out that when I go to a previous version of the source code, and downloading it, I get the latest version.
This wasn’t like that before and seems to be a bug in their system.
I created a small POC video:
I received the following response today:
Thanks for reporting this!
We have had a few reports of this bug over the last couple of days and our engineers are looking in to it. It’s very useful for us to have more data points, so thank you for submitting this report! I’ve passed it on to the team.
As a temporary workaround, you can manually construct the download URL with the commit SHA you want to download:
I’m afraid our system is going to mark this ticket as “solved” now that the issue has been created with the engineering team, but that doesn’t mean we’ve forgotten about it! In the meantime, please let us know if there is anything else we can do for you and we will be happy to assist!