Rollup merge of #64278 - guanqun:check-git, r=Mark-Simulacrum
Rollup merge of #64278 - guanqun:check-git, r=Mark-Simulacrum

check git in bootstrap.py

graydon/rust,graydon/rust,graydon/rust,graydon/rust,aidancully/rust,graydon/rust,aidancully/rust,graydon/rust,aidancully/rust,aidancully/rust,aidancully/rust,aidancully/rust