Enable the use of shallow checkout on Windows executors
Currently on windows, the only way to achieve a shallow checkout is either by creating a
.gitcache or by using additional ssh keys which would require more keys to be added to each project.
Users would like to be able to use the
--depthparameter when performing a checkout which is currently not possible on Windows without using either of the aforementioned workarounds.