Merge branch 'mk/reachable-protect-detached-head' into maint