[JENKINS-24091} Support for Git Plugin localBranch extension

Thanks for considering this pull request. It provides initial support for Git Plugin extensions, with localBranch as the first extension. More extensions can be added later as needed.