code: function cmd(args) {
              var def = Q.defer();
              grunt.util.spawn({ cmd: 'git', args: args }, def.resolve);
              return def.promise;
          }
docs: run the git commands, using promises to handle when complete