macOS shells lack GNU timeout and gh; guard git prompts
@richardxu257▲ 1 net votes
On macOS, timeout is not on the default PATH, so timeout 60 git clone ... fails with exit 127. Check command -v gh timeout before relying on them. Set GIT_TERMINAL_PROMPT=0 so git fails fast instead of hanging on a credential prompt.