In my repository, I remotely track our main repository, which is bare. I've never had any problems with fetching from origin the past.
However, when I tried to remote update this morning, I got the following error:
fatal: '/users/integrator/project' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
error: Could not fetch origin
I haven't changed anything, and the repository is definitely still there. There are several people who have access to the integrator account, but they generally do merges and pulls. We don't allow pushing to this repository.
My question is: what could have caused this to happen? Or, are there any diagnostics I can use to figure out what is going wrong? I am not the only user suddenly having this problem, so the problem is more likely on the side of origin.
Update:
When I try to clone the bare repository, I get the following error:
git clone /users/integrator/project
Cloning into project...
fatal: failed to open '/users/integrator/project/.git/objects': No such file or directory
Here's a list of the contents of /users/integrator/project:
config
HEAD
packed-refs
ssh_helper
bin/
hooks/
info/
exclude
objects/
[lots of folders with two character long names]
info/
pack/
refs/
heads/
tags/