Regardless of the current state of the workspace (whether there is some dirty files, etc)
and the state of the repository (whether the branch of the specified name exists or not),
when this method exits the following conditions hold:
The branch of the specified name branch exists and points to the specified refHEAD points to branch.
USE_CLI - Static variable in class org.jenkinsci.plugins.gitclient.Git
using(String) - Method in class org.jenkinsci.plugins.gitclient.Git
Set the (node/environment specific) git executable to be used
If not set, JGit implementation will be used, assuming you don't rely on unimplemented CLI methods