Free accounts are great for open source projects, but if you need private repositories for private projects, you can upgrade to a paid account.

  1. In the upper-right corner of any page, click your profile photo, then click Settings. Settings icon in the user bar
  2. In your user settings sidebar, click Billing. Billing settings

  3. Under "Billing overview", click Get private repositories. Upgrade button

  4. Under "Plan duration", choose whether you want to be billed monthly or yearly. billing

  5. Type your credit card information. Credit card information

  6. Review the information about the charge and your billing date, then click Upgrade to finish upgrading your account.

For more information on how this affects your billing cycle, see "How does upgrading affect the billing process?".