Conditionally rebuild contact steps based on git history