> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tape.network/llms.txt
> Use this file to discover all available pages before exploring further.

# Git Remotes

Tapedrive works as a Git transport. Once the `git-remote-tape` helper is on your
`PATH`, ordinary Git commands understand `tape://` addresses:

```bash theme={null}
git clone tape://<tape-address>
```

The helper is invoked by Git automatically. You keep using `git clone`, `git fetch`,
`git pull`, and `git push`; there is no separate Tapedrive Git command to learn.

<Note>
  The installer includes `git-remote-tape`; see the
  [installation page](/install) for the command and supported platforms.
</Note>

## Push a repository

For Tapenet, complete the [wallet and funding setup](/tapenet/access) before
creating a tape. Keep those connection settings in the terminal you use for Git.

Create a tape, add it as a remote, and push the branch:

```bash theme={null}
tape create --capacity 100m --epochs 720

cd my-repo
git remote add tape tape://<tape-address>
git push tape main
```

The helper finds the tape keypair created by the CLI under `~/.tape/cassettes/`. Only
the tape owner can push. Anyone with the tape address can clone without a wallet or an
account.

Git uses the same `TAPE_RPC_URL` as the CLI. To read through Tapenet's public gateway,
set its URL:

```bash theme={null}
export TAPE_GATEWAY_URL=https://gw.tape.network
```

For a local deployment, use your own gateway's URL. Gateway reads are useful on
restricted networks and avoid making Git contact storage
nodes directly. The helper verifies returned data before handing it to Git.

## Storage model and privacy

Each push writes a Git packfile as a content-addressed track. Repository refs live in a
named object that each push replaces.

Storage is append-only, so sensitive data cannot be made secret by removing it in a
later commit. Tapenet repositories are publicly readable to anyone with their address,
and the Git helper does not yet encrypt private repositories. Do not push credentials or
other secrets.

The [complete Git example](/examples#4-git-with-a-tape-as-the-remote) explains the wire
layout and current performance characteristics.
