Put `sha1` before `head`.