When I try to clone the repository from TFS, I ended up with the below error :
Cloning into 'Repo'... error: RPC failed; curl 56 Illegal or missing hexadecimal sequence in chunked-encoding fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed
Tried many solutions by increasing buffer size but none of them worked for me.
I had the same problem while commiting/pushing and The remote end hung up unexpectedly while git cloning helped by raising the buffer with a command like
git config --global http.postBuffer 524288000