Check out example codes for "git writing objects slow". It will help you in understanding the concepts better.
Code Example 1
git config --global http.postBuffer 524288000 //if you get: Writing objects: 62% (1023/1650) //and it doesn't advance at a certain percentage (here it's stuck at 62%) //This resizes the buffer: 524288000 is 500mb //1 GB: 1048576000 //2 GB: 2097152000 (max size)
Learn ReactJs, React Native from akashmittal.com