Accidentally overwrote source

I recently pulled down a copy of the master branch and realised, too late, that it was on 10.
My previous version was, and I was wondering if I could revert the changes, or get a copy of the final source code for that version?
Any help would be greatly appreciated.