docs: function gitClone(gitURL, branch) {
      var cloneCallback;          // Resultant callback
      var tmpSubDir;              // Temporary sub-directory
      var tmpDir;                 // Temporary directory
      var checkoutBranch;         // Branch to checkout
  
      checkoutBranch = branch || 'master';
      tmpSubDir = 'tmp_cordova_git_' + process.pid + '_' + (new Date()).valueOf();
      tmpDir = path.join(util.libDirectory, 'tmp', tmpSubDir);
  
      shell.rm('-rf', tmpDir);
      shell.mkdir('-p', tmpDir);
  
      cloneCallback = git.clone(gitURL, checkoutBranch, tmpDir);
  
      // Callback for Git clone
      cloneCallback.then(
          function() {
              return tmpDir;
          },
          function (err) {
              shell.rm('-rf', tmpDir);
  
              return Q.reject(err);
          }
      );
  
      return cloneCallback;
  }