public void Clean() { using (var repo = new LibGit2Sharp.Repository(RepositoryPath)) { repo.RemoveUntrackedFiles(); } }