While pushing to git using Termux, it crashes while compressing files I am pushing large number of files to git from android using Terrmux.

git push origin master


There is no issue pushing up to 40 files of around 1.5 MB. But when number of files is larger, Termux simply crashes while compressing the files.

Any Idea how can this be avoided?
It is possible that you don't have enough free disk space for the compression.

(Termux resides in the local storage and not on the SD card, so you'd need to check your device's free space.)