Allow override clone URL using variable
What does this MR do?
Enable overwrite of git remote URL using environment variable
Why was this MR needed?
Previously its only possible to override this setting per runner.
We want to override this setting per project/job on a shared runner context.
What's the best way to test this MR?
Go tests are included. You can also inject your job with GIT_CLONE_URL
variable
What are the relevant issue numbers?
Edited by Elliot Rushton