initialize ghost repo