Move checkout head to Git class

Checkout head logic was incorrectly added to the Editor class instead of the Git class when the feature was originally added years ago.

This moves that logic into the Git class where it belongs.
Sounds good, what do you think about changing the message then to 'Confirm Checkout HEAD Revision'?