title: Git changes my file permissions upon checkout
body: <p>Our workflow is develop on a local machine, commit the changes to a central repository, then check out the branch of that repository that we need.</p>
  
  <p>The problem is that Git changes ownership and even file permissions of the files that it checks out, depending on the user making the checkout. A direct result of this is that our CSS files become unreadable after a checkout, as Git changes the file ownership to the person who did the Git pull in the webroot.</p>
  
  <p>Example:</p>
  
  <ul>
  <li>Before <code>git pull</code>: <code>style.css</code> owned by <code>user_a:group_a</code></li>
  <li>After <code>git pull</code>: <code>style.css</code> owned by <code>user_b:user_b</code></li>
  </ul>
  
  <p>I want to keep ownership as <code>user_a:group_a</code>. I don't want to have to log in every time one of my team has made a change to the files, and change the ownership back to the original configuration.</p>
  
  <p>How do other people deal with this? How do you deal with repositories used by multiple users. We have suphp on our system and cannot take it off.</p>