Git clone speed very slow

2025-04-30T03:13:44.38+00:00

We have a local deployed Azure DevOps server. It is not a cloud server. Local deployed in Germany. The performance is good for Europe colleagues. But for China and Indian Users when try clone a Git repo from this Server the speed is very slow. Do you have any suggestion how to improve this problem?

Azure DevOps
0 comments No comments
{count} votes

Accepted answer
  1. Suresh Chikkam 1,485 Reputation points Microsoft External Staff Moderator
    2025-04-30T07:31:15.8033333+00:00

    Hi Zhang, Yin (SHS DI CT R&D MEQ ISA DOE),

    Thanks for bringing this up. Since your Azure DevOps Server is hosted locally in Germany, it makes sense that colleagues in Europe are seeing good performance. However, users in China and India facing slow git clone speeds is likely due to the distance and network latency involved in connecting to the server.

    One practical solution would be to set up a Git mirror or proxy server closer to those regions. That way, users can clone from a nearby source, which should significantly improve performance. These mirrors can sync with the main server on a regular basis.

    You can also suggest shallow clones for users who don’t need the full commit history. Using something like git clone --depth=1 reduces the amount of data they have to pull.

    It might also help to look into compression settings in Git, and for some teams, setting up optimized VPN connections or even dedicated network links between regions can make a noticeable difference, especially if access from China is being throttled or filtered.

    If your repositories contain large files, using Git LFS in the right way ensures users only download what they actually need, rather than pulling everything.

    It could be worth testing the network connection between regions using tools like ping, traceroute, or iperf, just to confirm if the slowness is related to network paths.

    Hope it helps!


    Please do not forget to click "Accept the answer” and Yes wherever the information provided helps you, this can be beneficial to other community members.

    User's image

    If you have any other questions or still running into more issues, let me know in the "comments" and I would be happy to help you.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.