git push stop when it hit Writing objects code example
Example: git writing objects slow
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)