I made some commit A some time ago, which added a few new classes. Later on, a coworker reworked things with commit B, and deleted my classes.
In order to do some debugging, I am simply interested in looking at some of the deleted classes (to confirm that they contain some functionality that is basically missing now).
Are there (simple) ways to do that (assuming that git is used, and intellij)?
Edit: I figured by now that intellij has a context menu entry show all affected files
in the version control window (for each commit listed there).
But I am wondering if there is a solution that works for cases, when I only remember the file name at hand. Getting to the files from a known commit is helpful, but what if identifying the commit is hard?