Git pull that run out of memory on my raspberry pi server

I made a private git server with my raspberry pi. When you try to pull a big git project with large binary files you can get out of memory on the server. I found a quick fix in stackoverflow:

git config --global pack.windowMemory "100m"
git config --global pack.packSizeLimit "100m"
git config --global pack.threads "1"

Now everything works well.

If you want to ask me a question or leave me a message add @bougui505 in your comment.