title: How to determine if Git merge is in process
body: <p>Is there a Git command that can be used to determine if a merge is in-process (i.e. uncommitted)?  I know I can simply check for <code>.git/MERGE_HEAD</code>, but is this proper and/or <strong>future-proof</strong> for command-line scripts?</p>