You can clone with
HTTPS or Subversion.
It seems the file tmp/templates_c/.htaccess is updated on every piwik index.php call.
piwik shouldn't Probably even need to read this file at all.
for saving useless I/O to the disk, we should check why and make sure the file is not written.
Same for tmp/sessions/.htaccess.
 fixes this issue