Set GIT_STRATEGY and GIT_DEPTH only where needed
Some jobs do not need to have the whole history around, so let's request it only where it is useful.
Some jobs do not need to have the whole history around, so let's request it only where it is useful.