public ITask Push(string remote, string branch) { var task = GitClient.Push(remote, branch); task.OnEnd += (_, __, success, ___) => { if (success) { UpdateGitAheadBehindStatus().Start(); } }; return(HookupHandlers(task, false)); }