Detached HEAD Issue in Android Studio
<p>I am new to Android Studio and have began developing a Navigation Drawer app.</p>

<p>After having made a mistake in a commit, I played around with the Version control's "Checkout Revision" and now I can no longer push my project onto Github due to a "Detached HEAD".</p>

<p>How can I fix this problem? My app runs perfectly fine in the emulator.</p>

<p>Thanks</p>