if HEAD is detached return the short SHA