func (c APIClient) SetBranch(repoName string, commit string, branch string) error {
	return c.CreateBranch(repoName, branch, commit, nil)
}
func (c APIClient) SetBranch(repoName string, commit string, branch string) error {
	return c.CreateBranch(repoName, branch, commit, nil)
}
func ( c APIClient ) SetBranch ( repoName string , commit string , branch string ) error { return c . CreateBranch ( repoName , branch , commit , nil ) }
// SetBranch sets a commit and its ancestors as a branch.
// SetBranch is deprecated in favor of CommitBranch.
SetBranch sets a commit and its ancestors as a branch . SetBranch is deprecated in favor of CommitBranch .