Revert Bug in Ai Studio

The issue I’m facing now is when I make a change and I don’t like it, the next sensible thing is to revert right.

I revert to the previous and push to GitHub, when I then make another change for a different part of my project and push to GitHub…

That change I reverted earlier will somehow someway come back and apply to my current version.

Any ideas on how to solve this?