Added branch argument to repo.contents()