message: View Commit in Github
  Command to view commits on Github.  Only show in context menu if TreeItem is a GitHub node.
diff: * Licensed under the MIT License. See License.txt in the project root for license information.
  *--------------------------------------------------------------------------------------------*/
  +import { SiteSourceControl } from 'azure-arm-website/lib/models';
  +import * as opn from 'opn';
  import * as os from 'os';
  import * as path from 'path';
  import { ProgressLocation, TextDocument, window, workspace } from 'vscode';
  @@ -144,6 +146,18 @@ export class DeploymentTreeItem extends AzureTreeItem<ISiteTreeRoot> {
  });
  }
  + public async viewCommitInGitHub(): Promise<void> {
  + const sourceControl: SiteSourceControl = await this.root.client.getSourceControl();
  + if (sourceControl.repoUrl) {
  + const githubCommitUrl: string = `${sourceControl.repoUrl}/commit/${this._deployResult.id}`;
  + // tslint:disable-next-line:no-unsafe-any
  + opn(githubCommitUrl);
  + return;
  + } else {
  + throw new Error (localize('noRepoUrl', 'There is no repo url associated with deployment "{0}".', this._deployResult.id));
  + }
  + }
  +
  public async refreshImpl(): Promise<void> {
  const kuduClient: KuduClient = await getKuduClient(this.root.client);
  this._deployResult = await kuduClient.deployment.getResult(this.id);
  