This issue is mostly caused by directories and sub-directories that have large files in them. You should use a heuristic approach as to how you deal with such situation. To determine the particular directory use the verbose tag(-v) with the git add command.