Whenever I do a git pull on my server, the file permissions for both files and folders have Group: Write enabled. Making files 664, and folders 775. I'm using git for version control on my Wordpress projects and due to Group: Write being enabled on all files, it's causing a 500 internal server error.
Is there a way for git to stop adding the Group: Write permission to the files and folders?
Thanks