Problem
I am working on a job in Jenkins that is utilizing the PowerShell plugin with the purpose of remotely accessing and running utility scripts I have written that I have stored within a Git repository. However, I am having a hard time finding any useful information that demonstrates/explains how to do this. I have even read through most of the wiki for the Git Plugin with hopes that it would have some information.
Question
Can someone assist in demonstrating/explaining how to do the following using PowerShell:
1) Target a specific Git Branch
2) Target a specific folder within a branch
I believe I can figure the rest out from there, but getting to that point has me stumped. Thank you in advance for any and all help.