For whatever it’s worth, try git fsck
(as per one of the comments) then git gc
. When running git status
and git commit
, they were hanging for me after processing a number of files; and running those commands fixed the issue. I don’t know which command actually fixed the problem.