code: function(next){
        fs.exists(gitDir, function(exist){
          if (exist && !args.setup) return next();
          self.log.i('Setting up Git-Backup deployment...');
          var commands = [['init']];
          addThemes();
          if (args.master && repo[args.master]){
            var master = repo[args.master];
            self.log.i('fetch from ['+ args.master.green + ']:', master.url.cyan);
            commands.push(['remote', 'add', 'origin', '-t', master.branch, master.url]);
            commands.push(['pull']);
          } else {
            commands.push(['add', '-A', '.']);
            commands.push(['commit', '-m', 'First commit']);
            self.log.i('First');
          }
  
          for (var t in repo){
            commands.push(['remote', 'add', t, '-t', repo[t].branch, repo[t].url]);
          }
          //file.writeFile(deployDir, 'placeHolder', function(err){
           // if (err) callback(err);
            async.eachSeries(commands, function(item, next){
              run('git', item, function(code){
                if (code === 0) next();
              });
            }, function(){
              if (!args.setup) next();
            });
         // });
        });
      }
docs: Set up