support for bare repositories
Merge pull request #4 from tomgi/bare_repos

Add support for bare repositories