title: Why GIT does not detect the difference between the file mode 644 and 664?
body: <p>Why GIT does not detect the difference between the file mode 644 and 664, but 755 it detects:</p>
  
  <pre><code>$:~/docker/images/php_cron/config$ ls -l crontab 
  -rw-r--r--  1 saf  staff  4663 31 Dez 09:38 crontab
  
  $:~/docker/images/php_cron/config$ chmod 664 crontab 
  $:~/docker/images/php_cron/config$ ls -l crontab 
  -rw-rw-r--  1 saf  staff  4663 31 Dez 09:38 crontab
  
  $:~/docker/images/php_cron/config$ git status
  On branch komplett-modularisiert
  Your branch is up-to-date with 'origin/komplett-modularisiert'.
  
  nothing to commit, working directory clean
  $:~/docker/images/php_cron/config$ chmod 755 crontab 
  
  $:~/docker/images/php_cron/config$ git status
  On branch komplett-modularisiert
  Your branch is up-to-date with 'origin/komplett-modularisiert'.
  
  
  
  Changes not staged for commit:
    (use "git add &lt;file&gt;..." to update what will be committed)
    (use "git checkout -- &lt;file&gt;..." to discard changes in working directory)
  
      modified:   crontab
  
  no changes added to commit (use "git add" and/or "git commit -a")
  </code></pre>
  
  <p>I would like that GIT detects any kind of file mode changes. I got issues when I deployed by git pulling my files on a server on which they had different file modes than in my repository.</p>