Directory which name starts with a dot are hidden on Linux platforms. This patch makes libgit2 behaves similarly on Windows.