Jenkins CI pipeline for Gitlab Project

I have a Jenkins Pipeline project to handle CI/CD for a gitlab project.
When i try to run the git commands in my jenkinsfile i get the following error and the pipeline fails.
“This repository is configured for Git LFS but ‘git-lfs’ was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.” after i run module load lsf."
Is there any way i can fix it?
Here are the commands used for the pipeline proj
module load lfs
module load spyglass/M_2017_03_SP2
bsub -Is -q i_soc_rh7 -R “rusage[mem=25600]” spyglass
source spyglass.tcl