Still continuing: depuis
Use depuis with a starting point or duration when a situation began in the past and remains true now. French normally uses the present tense if the situation is still continuing.
Elle travaille ici depuis 2022.A completed event: il y a
Il y a + a duration locates a completed event before now. The sentence often uses the passé composé to say when that event happened.
Elle a commencé ce travail il y a trois ans.Count the duration up to now: ça fait… que
The structure ça fait + duration + que tells how long a continuing situation has lasted. It is close to depuis, but begins by counting the duration. First ask whether the situation is still true; if so, choose depuis or ça fait… que. If the event is over, consider il y a.
Ça fait trois ans qu’elle travaille ici.