Unable to push core module changes into github

Hello All !!

Iam trying to push my core module(erpnext) changes into github account.

But iam getting below error.

kiranmai@kiranmai-Lenovo-V15-G3-IAP:~/Hilltop/frappe-bench/apps/erpnext$ git push -u origin new
Username for ‘https://github.com’: kiranmai123456
Password for ‘https://kiranmai123456@github.com’:
Enumerating objects: 4683, done.
Counting objects: 100% (4683/4683), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3533/3533), done.
Writing objects: 100% (4683/4683), 15.83 MiB | 4.22 MiB/s, done.
Total 4683 (delta 938), reused 4669 (delta 931), pack-reused 0
remote: Resolving deltas: 100% (938/938), done.
remote: fatal: did not receive expected object 32f77eae5d4eaf6bfd1431c68bd246ee325e0e63
error: remote unpack failed: index-pack failed
To https://github.com/kiranmai123456/Core.git
! [remote rejected] new → new (failed)
error: failed to push some refs to ‘https://github.com/kiranmai123456/Core.git

Github is mostly rejecting something in transit. Did you commit something exceptionally large?

@ankush

I committed the core module changes only.

Thank you but the error got solved.

i have same error but my issue is resolved with this command
( git fetch --unshallow )
must try this