title: Locking/unlocking files with PhpStorm
body: <p>I am wondering how this works exactly. In PhpStorm you can lock or unlock your current file in the lower right corner. </p>
  
  <p>I see the read and write permissions change whenever you do this but git does not pick up on the change. I have seen locked files in repositories before, like the Laravel code base. All the base code is locked when I pull in the repository.</p>
  
  <p>How can I get git to pick up the changes to my file permissions or does it push them to the repository even though it does not show any changes? How does this work?</p>
  
  <p><strong>Edit:</strong>
  It seems git only tracks whether a file is executable or not, is there an easy way to make git track all file permission changes?</p>