prow/github/client.go
func (c *Client) CreateFork(owner, repo string) error {
	c.log("CreateFork", owner, repo)
	_, err := c.request(&request{
		method:    http.MethodPost,
		path:      fmt.Sprintf("/repos/%s/%s/forks", owner, repo),
		exitCodes: []int{202},
	}, nil)
	return err
}
func (c *Client) CreateFork(owner, repo string) error {
	c.log("CreateFork", owner, repo)
	_, err := c.request(&request{
		method:    http.MethodPost,
		path:      fmt.Sprintf("/repos/%s/%s/forks", owner, repo),
		exitCodes: []int{202},
	}, nil)
	return err
}
// CreateFork creates a fork for the authenticated user. Forking a repository
// happens asynchronously. Therefore, we may have to wait a short period before
// accessing the git objects. If this takes longer than 5 minutes, GitHub
// recommends contacting their support.
//
// See https://developer.github.com/v3/repos/forks/#create-a-fork