Creates a bare repository and copies all branches from the origin repository into the bare repository.