The reader feedback from the https://jenkins.io/doc/pipeline/steps/git/ page has many negative feedback comments at https://docs.google.com/spreadsheets/d/1nA8xVOkyKmZ8oTYSLdwjborT0w-BpBNNZT0nxR9deZ8 .
Many of the requests are seeking examples to use the step. Provide examples of the step and encourage the reader to use the Pipeline Snippet Generator to generate their own step output.
Fixed in git plugin 4.1.0, released Jan 18, 2020.