msysgit: access denied error for files with leading period in the name

In the last time my IDE (IntelliJ IDEA) from time to time reported an “access denied” error when writing .classpath files. The reason was that msysgit made these files hidden by default.

In the Noise And Heat blog I found the solution: one has to set the core.hidedotfiles property to false:

git config --global core.hidedotfiles false