I\'m able to pull but Unable to git push
$ git push -u origin master
Counting objects: 2031, done.
Delta compression using up to 4 threads.
Compressing objects:
Maybe the entire folder permissions are not set,chown -R git:git /your path
If you are the git administrator, connect on the server hosting the git repository. There, go into objects
folder. There should have folder with root owner, which is your problem.
Change folder owner to be equal to other on the folder (not root).
The problem comes from the version of NFS your Vagrant NFS mount. You have to use version 4 which is not available in Windows. Use temporarily default synced folders on Windows instead of NFS.
Try using the --no-thin option of git push.
$ git push --no-thin
From https://git-scm.com/docs/git-push:
--[no-]thin
These options are passed to git-send-pack[1]. A thin transfer significantly reduces the amount of sent data when the sender and receiver share many of the same objects in common. The default is --thin.
Our team has struggled with this same issue and has tried all of the fixes/workarounds mentioned in the OP links, with various success. What works for some didn't work for others, nor would it work for the same person a few months later. So far, the --no-thin option has been working well.