def create(*args)
      arguments(args) do
        assert_required %w[ name ]
      end
      params = arguments.params

      # Requires authenticated user
      if (org = params.delete('org') || org)
        post_request("/orgs/#{org}/repos", params)
      else
        post_request("/user/repos", params)
      end
    end
def create(*args)
      arguments(args) do
        assert_required %w[ name ]
      end
      params = arguments.params

      # Requires authenticated user
      if (org = params.delete('org') || org)
        post_request("/orgs/#{org}/repos", params)
      else
        post_request("/user/repos", params)
      end
    end
Create a new repository for the authenticated user.

 @param [Hash] params
 @option params [String] :name
   Required string
 @option params [String] :description
   Optional string
 @option params [String] :homepage
   Optional string
 @option params [Boolean] :private
   Optional boolean - true to create a private  repository,
                      false to create a public one.
 @option params [Boolean] :has_issues
   Optional boolean - true to enable issues  for this repository,
                      false to disable them
 @option params [Boolean] :has_wiki
   Optional boolean - true to enable the wiki for this repository,
                      false to disable it. Default is true
 @option params [Boolean] :has_downloads
   Optional boolean - true to enable downloads for this repository
 @option params [String] :org
   Optional string - The organisation in which this
   repository will be created
 @option params [Numeric] :team_id
   Optional number - The id of the team that will be granted
   access to this repository. This is only valid when creating
   a repo in an organization
 @option params [Boolean] :auto_init
   Optional boolean - true to create an initial commit with
   empty README. Default is false.
 @option params [String] :gitignore_template
   Optional string - Desired language or platform .gitignore
   template to apply. Use the name of the template without
   the extension. For example, “Haskell” Ignored if
   auto_init parameter is not provided.

 @example
  github = Github.new
  github.repos.create "name": 'repo-name'
    "description": "This is your first repo",
    "homepage": "https://github.com",
    "private": false,
    "has_issues": true,
    "has_wiki": true,
    "has_downloads": true

 Create a new repository in this organisation. The authenticated user
 must be a member of this organisation

 @example
   github = Github.new oauth_token: '...'
   github.repos.create name: 'repo-name', org: 'organisation-name'

 @example