[1]: https://github.com/e-butik/Gittern/
However, there are technical considerations. For example, pack files can get pretty large (indeed version 2 packfiles supports files > 4 GB), and I doubt browsers are optimized for random access to large files (so you wouldn't have to load the entire file in memory). Another potential problem would be pushing and pulling. The dumb HTTP transport is obviously possible to use (but rarely supported anymore), and the smart HTTP transport should be able to get working, but for implementing the git protocol, or git+ssh you'd need regular sockets, which AFAIK browsers don't provide.
I do however wish the author the best of luck with this project, and since I see that he's here, I will leave with links to a few resources I found useful:
* http://git-scm.com/book/en/Git-Internals
* http://opensource.apple.com/source/Git/Git-26/src/git-htmldo...
* http://www.opensource.apple.com/source/Git/Git-17/src/git-ht...