Revert "Reworked test repositories"

This reverts commit af5295ab32dab30a2753f9aa04b3712c8073ac91.

Making the git repos bare was a cosmetic change. Turns out the change broke the tests.
Converted test git repositories to bare repositories

The test repos were checked in as plain copies of .git directories, making it difficult to clone the test repos for manual testing. Converted the repos into bare repositories, so that manual cloning would be possible.