How do I checkout an old git commit in Android Studio?
<p>I would like to look at an old commit of my app in Android Studio in order to compile and run it. I don’t want to reset back to the previous commit or change my commit history or anything like that. When I’m done, I want to go back to the latest version.</p>

<p>On the command line, this would be a simple </p>

<pre><code>git checkout &lt;hash&gt;
</code></pre>

<p>So how can I do this in Android Studio?</p>

<p>I haven’t tried to do it on the command line, because I’m afraid Android Studio might get heartburn when I modify its files externally. Reassurance that I can work with git outside of Android Studio without problem would be fine too.</p>