Hi Marco, welcome to the forum.
You are not doing it wrong. It is an issue specific to Git for Windows. As far as I know (but maybe I am mistaken) it is unresolved. As a workaround you can push to Github from the command line.
This issue has been discussed before in this forum.