Different repositories

Hi there!
Try to describe … Have a working repository and need a pipeline that will be using data from other different repositories. Means in 2-3 repositories there are some data that are needed to prepare say a file which would be stored in current “working” repo.

How to implement it? Need I use git clone command to clone other repos and after that work with data from those repos??

Looking forward to seeing any your help