Why do you keep the vendor directory in git?

Why do you keep the vendor directory in git?

I heard Grafana released a blog post about the reasons, but could not find it.

Or is it just for historical reasons, and you would not do it again, if you could start from scratch?