View the original community article here
Last tested: March 7, 2021
There is not a way to revert changes to only certain files in Looker's UI, or really in Git itself. Git thinks in terms of commits, not individual files.
Go to the git repo itself; it should have versioning on each file. Copy the version of the file that you want and paste that into Looker's UI.
This content is subject to limited support.