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.
Revert "Converted test git repositories to bare repositories"

This reverts commit 16f93a62c7e1c0aa043dc39a9e0fbb510cf78a4a.

It would seem that tests will NOT run properly when checking in test repos as bare repositories. Fun fact - this issue does not manifest itself until you pull the change. Reverting and letting go of this idea for now.
Merge remote-tracking branch 'upstream/master'