Thank you Mark for your answer.
Well, i have pipeline which has some stages. One of the stages is a git stage (seperate freestyle job), which pulls some repo, does some stuff. I need this seperate job, because this is used by many different pipelines.
Until now, i had this git job defined by some cmd commands (still has the LFS problems).
Git plugin supports LFS since some time, so i wanted to rewrite this job to use the git plugin, but it supports only specific commands, defined in advance.
But i have to for example do stashing files before updating repo, and i cant do this with git plugin.
Maybe, do you have any idea how can use git plugin commands with stashing files before within one job?
Can you explain more about the types of jobs where you would use that?
For example, pipeline (scripted and declarative) already gives full control of the exact point where the repository should be fetched. I think this can already be satisfied with pipeline.
Freestyle doesn't allow that generalization, but does allow a "pre-scm build step" which can perform calls to command line utilities.