I created a git repo on my hostgator dedicated server and pulled the new repo to my local machine. I am able to push changes up to the server fine, but file permissions get changed to 0664 while all the other unedited files are 0644. Some files with 0664 permissions throw a 500 internal server error until I change them to 0644.
Is there a way I can tell git to always use 0644 instead of 0664?
I am on Git v. 2.30.1