I just encountered a weird error and need somebody else who might be able to reproduce this, because it might be a problem on my side after all. And I don't have anybody else who can try it.
I am working with win 7 64 Bit and Git 1.8.4-preview20130916. I also mapped a drive from a remote (local network) computer to my local machine as G:. I than tried the following list of commands until the error came up. The commands perfectly work if I issue them on a non-mapped local drive. So, it would be very helpful if somebody else could try reproducing the behaviour.
/g/Git/test
$ git init --bare upstream.git
$ git clone upstream.git/ alice
$ cd alice
$ vi file
$ git add .
$ git commit -m "Initial Commit"
[master (root-commit) cb4874f] Initial Commit
1 file changed, 1 insertion(+)
create mode 100644 file
$ git push origin master
Counting objects: 3, done.
Writing objects: 100% (3/3), 224 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To g:/Git/test/upstream.git/
* [new branch] master -> master
$ cd ..
$ git clone upstream.git/ bob
Cloning into 'bob'...
done.
error: internal error: refs/remotes/origin/master is not a valid packed reference!
error: Trying to write ref refs/heads/master with nonexistent object cb4874fbab32f92874bc232befcceb0b10ab7d12
fatal: Cannot update the ref 'HEAD'.
fatal: The remote end hung up unexpectedly