title: Is there a reason why "refs/heads/branchname" on the bare remote repository is not created with umask 022?
body: <p>I have noticed that when I push a branch to the origin repo <code>refs/heads/branchname</code> is created with permissions <code>600</code>. This prevents a local redmine client from seeing that branch when it updates the repository view.</p>
  
  <p>After I run chmod -R 755 on the repository's directory the branch becomes visible to the redmine client.</p>
  
  <p>Is there some setting in <code>git</code> or the OS configuration that could be causing that?</p>