create the .git directory for tests
cleanup after ourselves