I'd like to go back and look at a commit of the code I previously published. From the command line, it would be git checkout [commit id], but I'd like to do it though Visual Studio (2019) so I don't have to open the command prompt and find/copy the commit id. I don't want to make any permanent changes to the code, I just want to be able to browse/debug the old code.
This seems like it should be a feature in Visual Studio - from the history window, I can see options for Revert, Reset, Cherry-Pick, but I don't think any of those are re-named version of checkout. I tried searching for "visual studio 2019 how do I checkout a previous commit git" (and various wordings), but I can't find the answer.
The solution I've used so far was to make a new branch from the commit I want to look at, then delete the branch when done, but it seems like there must be a better way...
