Add method to initialize bare repositories