A user forks a repository. For more information, see the "[forks](/rest/reference/repos#forks)" REST API.