Added repo with bare.
Fixed file mode.