chmod -x This file does not start with #! anymore, therefore it should not be identified as executable by Git.