Gitlab CI Artifacts copy changed files

Gitlab ci is completely new for me.
I have a folder “group” in my repo with some configuration files.

git1
git2

In the first job i create an artifact with 3 folders in it (add, update, delete).

git4
git5

now i want to copy the changed configuration files into one of the 3 folders with my last commit or merged request.
but i dont know how to do that…

git3

Thank you.