GitDownloadStrategy: move constant to top of class body
GitDownloadStrategy: inline simple method
VCSDownloadStrategy: document acceptable ref types
VCSDownloadStrategy: use REF_TYPES when extracting ref to use
GitDownloadStrategy: allow disabling of shallow clone

Closes #25751.
Closes #26730.
task: remove obsoleted download strategy