Private repositories on your account are locked when you downgrade your paid account to a free one, or if your paid account is seriously past due because of billing problems.

Note: Only organization members with the owner or billing manager role can access or change billing settings for your organization.

You can unlock and access your private repositories by updating your organization's payment method and resuming paid status. We do not ask you to pay for the time elapsed in locked mode.

We won't delete your locked private repositories or make them public. After a period of nonpayment, GitHub reserves the right to delete content from locked repositories.

If you need short-term access to the repositories to move them off of the account, contact GitHub Support.

Unlocking an organization account locked due to a declined payment

If your organization's private repositories were locked due to a declined payment, you'll need to update your billing information to trigger a newly authorized charge. For more information, see "Updating your organization's payment method."

If the new billing information is approved, we will immediately charge your account, and the organization account will automatically unlock when a successful payment has been made.

Unlocking an organization account locked due to a plan downgrade

If your organization's private repositories were locked because you downgraded your billing plan to free, you can:

Further reading