I only briefly checked this out, but we could check out the `grunt-git` module:

```javascript
module.exports = function (grunt) {
  "use strict";

  grunt.loadNpmTasks("grunt-git");

  grunt.initConfig({
    gitclone: {
      clone: {
        options: {
          repository: 'https://github.com/mozilla/legal-docs.git',
          directory: 'locale-stuff'
        }
      }
    }
  });

  grunt.registerTask("default", ["gitclone"]);
};
```

![](https://i.canvasugc.com/ugc/original/34bdb8fb0d3a7ec4073e857dd8f38da51386a598.png)