Ported from: https://gitlab.com/gitlab-org/gitaly-proto/blob/e81af35ee506c160c35e55e4dad4419d293694d5/.gitattributes