Fix git and logcat on Windows