Skip git clone, use local repo

Hello, I am creating a multibranch pipeline and currently every time I build a branch with Jenkins it clones the entire repo, appending my branch name to the end of it. This results in me having 10 different cloned repos for 10 branches. Is there a way to tell Jenkins to just use the locally cloned repo on the build agent and fetch the correct branch?

My repo is huge so this checkout scm step takes forever.

See the skipDefaultCheckout option for Declarative Pipeline.

See the “Git in the Large” 10-15 minute presentation that will guide you to use a reference repository and may suggest other techniques that can reduce the effort to manage jobs with large git repositories

Thank you so much, Mark!