HEAD is allowed as commit_id