Manage how Git repositories are created and set to specific refs
@api private
Create a new shallow git working directory
@param ref [String] The git ref to check out @param remote [String] The git remote to use for the repo @param basedir [String] The path containing the Git repo @param dirname [String] The directory name of the Git repo
[Validate]