The issue is in the declarative syntax generator or possibly in the class structure of the git client plugin. The syntax:
should work. Unfortunately, I detect no difference in log output or behavior no matter what syntax I use for the `git` tool in the `tools` directive. I see the same output whether I use:
git 'git-windows' // I have a git-windows installer configured which runs a specific path of git on Windows
That may be why the docs only list maven, jdk, and gradle. The syntax helper offers values for `git` but they seem to either be ignored or be so subtle that I'm not seeing what I expect in the output.
If I use a multibranch pipeline and define the git implementation in the multibranch pipeline as 'jgit', then jgit is used to generate the declarative pipelines in that multibranch pipeline.