git fetching: fix redirect handling

I mistakenly thought this was dead code in an earlier commit in this
branch. This commit restores the proper behavior.
99a5de9dbbAndrew Kelley committed on 2/23/2024, 9:37:11 AMparentb6ca89f
2 files changedLine totals unavailable