Added: improved support for msysgit and msys bash