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

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

See discussion thread here: !105783 (comment 1378335309)

Edited by Chad Woolley