Allow user to specify optional clone depth for workspace's git repo

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Allow user to specify optional clone depth for workspace's git repo

See discussion thread here: !105783 (comment 1378335309)

Edited by 🤖 GitLab Bot 🤖