private void PrepareGitRepository(){ this._githelper = new GitHelper{RemoteUrl = _context.GitUrl, DirectoryName = _context.RootDirectory, Branch = _context.GitBranch,NoAutoPush = true}.Connect(); try{ _githelper.FixBranchState(); } catch{ } }