Split off the wipe workspace functionality
added a hook to decorate the git-clone command
Strange that the errors in clone is tolerated.

If a retry is needed it should be configured separately. I think I also caused a regression in multi-repository clone situation, where we need to clone one and then fetch the rest
split out the clone behaviour customization to another extension
left over from earlier split-off
indentation fix
simplified by using modern tags
simplified by using modern tags
this code is no longer in use
Show this only when there's options to choose from.
follow up compilation error fixes
fixing compilation problems due to the execption signature change
regression fixes driven by tests
Simplification

I don't understand the point of why getSingleBranch() is called to figure this out when the workspace has that information authoritatively
simplification
To handle polling correctly, we need to differentiate the revision built and the revision marked.

When a pre-build merge is performed, we need to leave the record of the commit in the upstream repository that was merged into, or else the polling will keep finding the same commit over and over