[Backport 7.63.x] exclude .git
from copyright linter
#33361
Merged
.git
from copyright linter
#33361