doctor: fix transposed git command

Closes #17338.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>