class Github::Repos
def branch(user_name, repo_name, branch, params={})
github.repos.branch 'user-name', 'repo-name', 'branch-name'
github = Github.new
= Examples
Get branch
def branch(user_name, repo_name, branch, params={}) normalize! params get_request("repos/#{user_name}/#{repo_name}/branches/#{branch}", params) end