The article discusses how GitLab reduced the backup time of their repository from 48 hours to 41 minutes by identifying and fixing a performance bottleneck in a 15-year-old Git function. The issue was caused by a function with O(N²) complexity, which was replaced with a more efficient algorithm. This change enables more robust backup strategies and reduces the risk of data loss. The improvement is available to all GitLab customers and has been contributed upstream to the Git project.