windows fixes for git prompt and gui tool