Jenkins with Git : do git pull in case of branch
I am well aware that when writing a pipeline script for a Jenkins job, good practice is to reclone a repo every time you run the job, however I do find myself desiring to just pull the branch content or checkout a revision and just run the job on that (in some cases at least).