public async void Sync() { var repoValue = await _repository.Pull(_path); if (repoValue == null || string.IsNullOrEmpty(repoValue)) { Push(); } else { Pull(repoValue); } }