How to git pull default branch in gitlab pipeline

How to git pull default branch in gitlab pipeline?

Below is my code

script:
- ssh -t -t root@$DEV_WEB_IP -o StrictHostKeyChecking=no “cd /root/Commserviceclone && git pull && exit”
continuous_build_to_dev: