This is the Jenkins Pipeline Snippet for your specific SCM. You can go to your Jenkins server's Snippet Generator page to generate the snippet: Snippet Generator

Select "Check out" from Sample Step and fill in your details.

Then select the Generate Pipeline Snippet button and copy/paste your

SCM snippet above