/// <summary>
        /// Sets the connection.
        /// </summary>
        public void SetConnection()
        {
            _logger.LogInformation("Setting git repository connection");
            var appPath = GlobalMethods.GetCurrentAppPath();

            _blockGitConnectionOptions.GitLocalFolder = Path.Combine(appPath, _blockGitConnectionOptions.GitLocalFolder);
            _repoManager.SetConnectionOptions(_blockGitConnectionOptions);
        }
        /// <summary>
        /// Sets the git repo URL.
        /// </summary>
        /// <param name="deviceType">Type of the device.</param>
        /// <param name="gitUrl">The git URL.</param>
        public void SetGitRepoUrl(string deviceType, string gitUrl)
        {
            EnsureArg.IsNotEmptyOrWhiteSpace(deviceType);
            EnsureArg.IsNotEmptyOrWhiteSpace(gitUrl);

            _firmwareVersionGitConnection.GitRemoteLocation = gitUrl;
            _logger.LogInformation("Setting git repository connection");

            var appPath = GlobalMethods.GetCurrentAppPath();
            var temp    = Path.Combine(appPath, _firmwareVersionGitConnection.GitLocalFolder + "-" + deviceType);

            _repoManager.SetConnectionOptions(_firmwareVersionGitConnection, temp);
        }