git pull fails with following error
remote: Counting objects: 146, done.
remote: fatal: unable to create thread: Resource temporarily unavailable
error: git
Complementing the @Mark Longair's answer:
I had to run the following commands to fix this issue:
git config --global pack.windowMemory "100m"
git config --global pack.packSizeLimit "100m"
git config --global pack.threads "1"
git config --global pack.deltaCacheSize "512m"
You can see more about these commands in the git documentation git config.