Return a list of branches for given repository

		Raises GithubException if rate limit is exceeded

		:return: [str]

def branches(self):
		"""Return a list of branches for given repository

		Raises GithubException if rate limit is exceeded

		:return: [str]
		"""
		if self.github.get_rate_limit().rate.limit == 0:
			raise GithubException

		branches = self.repo.get_branches()
		return [x.name for x in branches]