git4idea: IDEADEV-40669: git init now refreshes directory in order to prevent incorre...