git: use winpty for mintty support (TEST)