Check git commands in Flutter version check test (#66406)

diff --git a/packages/flutter_tools/lib/src/version.dart b/packages/flutter_tools/lib/src/version.dart
index 8b5e136..9fe312a 100644
--- a/packages/flutter_tools/lib/src/version.dart
+++ b/packages/flutter_tools/lib/src/version.dart
@@ -398,7 +398,7 @@
         lenient: false
       ));
     } on VersionCheckError {
-      // Don't perform the update check if the verison check failed.
+      // Don't perform the update check if the version check failed.
       return;
     }