Pipeline Jobs to restrict few git default commands

Team,

I have created new CI/CD pipeline, when i do start pipeline, i dont want to do reset git in local changes and i just want to pull data to my local directory. How to change default git commands on pipeline. And i would like to change the structure of folder creation as mentioned below to customized folder path. {builds_dir}/$RUNNER_TOKEN_KEY/$CONCURRENT_ID/$NAMESPACE/$PROJECT_NAME