Git remote helper that lets you push and clone from matrix rooms.
You'll need cargo
to install git-matrix, rustup if you don't have it yet.
cargo install --path=git_matrix_cli
git clone matrix://matrix.org/git-matrix
The remote helper acts as guest by default. To login execute
git matrix
which prompts for
Homeserver URL: https://example.org
User: @example:example.org
Password:
The resulting access token and device id are stored in the global git config.
git clone matrix::<scheme>://<domain>[:port]/<room-alias>