Do not crash on interactive questions when stdin is unavailable
Replaced msysgit dependency with more generic Git dependency