I have a local git repository which is upstream from another local git repository. When I pull from the upstream repository to the downstream one, I want the Windows file permissions on a particular file to be preserved after the update. I attempted using the following solution: https://github.com/git/git/blob/master/contrib/hooks/setgitperms.perl#L78
But I believe it is based on a UNIX security model and does not preserve my permissions. How can I accomplish this? I was considering using a python script with the win32security module (since I'm not familiar with perl), but have been unable to find suitable documentation for it. I have very little experience with Windows security beyond manually setting permissions.