While push, I receive an error "Exit status 128 fatal bad object "

while uploading the repository, we are getting error as shown below.

ref master:: Error in git rev-list --stdin --objects --not --remotes=
–: exit status 128 fatal: bad object

Kindly guide us, how can we upload the repository files on github