Should I put my connector in the project or in the project

What’s the best choice: putting all the connectors in the project or putting them in the shared repo ?

I presume that putting them in the project isolates the project and thus it is more robust when migrating to another pc or server?

If the data connector may be shared across multiple projects, place it in the Repo.

If it is localized just to that project, store it in the project.

Daniel