[tweak] limits git hook update only to git method enabled repos