Migrate Git provider to default to bare repos

Also add an option to the git provider to specify if you want
a bare repo or a full repo