Well, depends on what you mean by recover. If you checked out the commit, you'll see the version of the file you want. If there's a lot of changes you can make a copy and then paste it over the latest commit. If there's a few, you can revert lines or hunks selectively.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.