# Functions

CompareCommits compares two commits against one another.
ForkRepo forks the Repository on GitHub and returns the new Repository https://docs.github.com/rest/repos/forks?apiVersion=2022-11-28#create-a-fork https://github.com/cli/cli/blob/8c7935e6cec01cc910e40bad6ec9999508eb4d83/api/queries_repo.go#L511.
RenameRepo renames the repository on GitHub and returns the renamed repository https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#update-a-repository https://github.com/cli/cli/blob/trunk/api/queries_repo.go#L558.
ResetToParentCommit uses GitHub API to update to a commit.

# Structs

commits is the Commits result from GitHub API https://docs.github.com/rest/commits/commits?apiVersion=2022-11-28.
RepositoryV3 is the repository result from GitHub API v3 https://github.com/cli/cli/blob/8c7935e6cec01cc910e40bad6ec9999508eb4d83/api/queries_repo.go#L498.