code: def branches(self):
  		
  		if self.github.get_rate_limit().rate.limit == 0:
  			raise GithubException
  
  		branches = self.repo.get_branches()
  		return [x.name for x in branches]
docs: Return a list of branches for given repository
  
  		Raises GithubException if rate limit is exceeded
  
  		:return: [str]