How to use CI pipeline in shell

How can I run the pipeline without changing my existing source and just pull the updated files to my local. Because at beginning of the job it will pull all the files, once I edit files and done with latest commit to my branch. All the local changes and deleted files are getting updated from git when running the pipeline. I want to just pull the updated files to local without overwrite or pull already downloaded files from git.