prevent git ref/unref mismatches. prevent reference promotion to owner