There's a line already for this:
https://github.com/caitp/webvtt/blob/6bb3672eea4e5edc737532fdfb8d853141457041/.gitattributes#L20

This covers all of our test files (so long as they end with the extension 'vtt'), which they should.