change to the correct way of init a bare repo