code: function(resp) { 
  								var branches = resp.Children;
  								var currentBranch;
  								for (var i = 0; i < branches.length; i++) {
  									if (branches[i].Current) {
  										currentBranch = branches[i];
  										break;
  									}
  								}
  								//Stripping additional info
  								data.command = undefined;
  								data.targetBranch = undefined;
  								data.parameters = undefined;
  								
  								data.items.LocalBranch = currentBranch;
  								data.items.Remote = currentBranch.RemoteLocation[0].Children[0];
  								
  								pushCallback(data).then(function() {
  									refresh();
  								});
  							}
docs: $NON-NLS-0$