extensions/git/src/statusbar.ts/CheckoutStatusBar/command
class CheckoutStatusBar:	get command(): Command | undefined {
		const rebasing = !!this.repository.rebaseCommit;
		const isBranchProtected = this.repository.isBranchProtected();
		const label = `${this.repository.headLabel}${rebasing ? ` (${l10n.t('Rebasing')})` : ''}`;

		return {
			command: 'git.checkout',
			tooltip: l10n.t('{0}, Checkout branch/tag...', label),
			title: `${isBranchProtected ? '$(lock)' : '$(git-branch)'} ${label}`,
			arguments: [this.repository.sourceControl]
		};
	}