Skip to content
Free backup eSIM for China: 1 GB free with code CEMWEBGet it free →
China Easy Mode

GitHub in China: What to Use Instead and How to Fix It (2026)

GitHub is patchy on Chinese Wi-Fi and SIMs. See what works with an eSIM or roaming, what developers in China use instead, and what to set up before you fly.

Working on a laptop

Short answer: Partly. GitHub is not formally blocked in China, but access from Chinese networks is unreliable, with pages that load slowly, time out or fail at random. Verified 30 October 2026.

On Chinese networks (local SIM, hotel Wi-Fi)Patchy
On a travel eSIM or roamingWorks
Local alternativeGitee

GreatFire rates github.com as intermittent, with 75% of its last conclusive tests showing disruption (last tested 2026-10-01). Some individual repository paths fail far more often than others. Of the 965 github.com URLs tested, 637 were disrupted and 73 were blocked outright. Data routed abroad through a travel eSIM or home roaming avoids this.

What this means for your trip

Is GitHub blocked in China?

Partly. GitHub is not formally blocked in China, but access from Chinese networks is unreliable, with pages that load slowly, time out or fail at random. What you can do depends on the feature and the network you are on, so test it before you rely on it.

Does GitHub work with an eSIM or roaming?

On a travel eSIM or home roaming, GitHub works as usual, because the data is routed outside mainland China.

The simplest fix for visitors is a travel eSIM set up before you fly: see the best eSIM for China, or go straight to Airalo's China plans (affiliate link). Hotel and café Wi-Fi use Chinese networks, so switch Wi-Fi off when you need GitHub.

What can you use instead of GitHub in China?

Plan a backup in case GitHub will not load. Locals use Gitee.

How do I get GitHub before I fly?

Install GitHub and sign in before you fly, and set up your travel eSIM at the same time. Google Play does not work on Chinese networks, so do not leave downloads for when you land. Get it from the official site, github.com, or your phone's app store. Then open the app once at home to check it runs. Our list of apps to install before you fly shows the order to do it in.

Blocked status follows Freedom House's Freedom on the Net 2025; you can test any site yourself on GreatFire.org, which checks access from inside China every day. Full picture: Internet in China and the apps to install before you fly.

FAQ

Is GitHub blocked in China?

Partly. GitHub is not formally blocked in China, but access from Chinese networks is unreliable, with pages that load slowly, time out or fail at random.

Does GitHub work with an eSIM or roaming in China?

On a travel eSIM or home roaming, GitHub works as usual, because the data is routed outside mainland China.

How do I use GitHub in China?

Use a travel eSIM or your home carrier's roaming: data is routed abroad, so GitHub works on mobile data. Install and sign in before you fly.

What do people in China use instead of GitHub?

Gitee.

How do I get GitHub before I fly to China?

Install GitHub and sign in before you fly, and set up your travel eSIM at the same time. Google Play does not work on Chinese networks, so do not leave downloads for when you land.

Can I git clone or push from China?

Often, but it can be slow or drop out. HTTPS clones are usually more reliable than SSH. A travel eSIM or a VPN gives the most stable connection.

What do developers in China use instead?

Gitee is the common local platform. Many developers also use mirrors or accelerators for GitHub downloads.

Does it work in China? More apps

All 102 apps checked →

Next steps for your trip

Last verified 30 October 2026. Official site: https://github.com. Sources: [1] [2] [3] . Access can change without notice; tell us if you see something different.

When do you fly to China? We'll remind you what to sort out first

Two short emails timed to your trip: 2 weeks before (get your eSIM and VPN while those sites still open) and 3 days before (link a card to Alipay, fill in the arrival card). Plus a printable China trip checklist (PDF) right now. No spam, unsubscribe any time.

Search guides