Add matches for git header and index lines.