use when() to conditionally ask git questions