Publish problem with security.php

Hey everybody,

I have a small problem that I suppose that has something to do with my setup/structure/settings and NOT A BUG thing because I would seen it in other posts here…

-win.10
-wappler 6.0.0 8beta (stable channel)
-php
-MySQL
-custom server

I use the publish manager to publish my site:

The first time I published, I thought that there was a problem with my files because I couldn’t login. I finally understood that I did login successfully but I was forwarded to my index.php that has security restrictions (conditional users only) image
and because of that I was forwarder again to my login page…
So, I searched my uploaded files and saw that all files were correct except 1 file
That is the security.php (dmxConnect\modules\SecurityProviders\security.php) that holds my security permissions.
I pasted the correct code inside the security.php and everything worked fine!

Now, I had to do it again a few timew to publish minor changes and everytime the same thing happens…
Everything goes well except my dmxConnect\modules\SecurityProviders\security.php file that is reverted to an old basic version (with basic permissions).
It is like it detects that this file has changed locally and it is forced to upload an old version of that file that does not exist in my local folder… I CANNOT EXPLAIN IT

The only thing I can think of is that localy I create copies of my folders in order to backup them.
So, after I started using Git, I have created 1 copy of my working folder and I noticed that in that backup folder exists the .git folder and the .gitignore file…

But thinking… ONLY THIS FILE (security.php) IS A PROBLEM?

Anyway, if anybody can give me an idea of why this is happening will be much appreciated

Thanks in advance