FoldRender / Guides / git clone on Android: put the repo on your phone, and read it there
FoldRender guide

git clone on Android: put the repo on your phone, and read it there

FoldRender ships an on-device git client built on JGit, so git clone is a button rather than a terminal session. What ran on two cloud phones on 2 November 2026, signed out, is the front half of it and a local commit: clone a public HTTPS repository anonymously, browse and read it, edit a file and commit it with push off. Branch checkout and push are in the build too and were not part of that run, so this page describes them as shipped rather than as working, and does not write steps for them.

Get it on Google Playfree See what FoldRender does

How do you git clone a repository on Android?

Install FoldRender from Google Play and open the git panel. Tap the title, type owner/repo or paste an address such as https://github.com/user/repo.git into Filter, or type owner/repo, tap Open owner/repo, then Get the code. A public repository needs no account and no token. The clone lands in app-private storage and opens as the workspace.

Step by step

  1. Install from Google Play

    FoldRender is on the Play Store as FoldRender: Git Repo Reader, package id dev.foldrender.app, free and distributed worldwide. Install it the ordinary way — no allow installs from this source prompt to approve, and updates arrive on their own. The app declares minSdk 30, so it needs Android 11 or newer; Play will tell you if a device is below that rather than letting you install a build that cannot run.

  2. Open the git panel

    Git in the ⋮ menu, or the branch icon when the file tree fills the screen, opens the git panel — you do not need a document open first. Until you pick a repository, its title reads Choose a repository, with No repository chosen under it. Everything git-related lives in this panel, in the Changes, History and Wiki tabs, rather than behind a menu of dialogs.

  3. Choose the repository

    Tap the title. The field is labelled Filter, or type owner/repo: type owner/repo, or paste a GitHub address such as https://github.com/you/repo.git, and tap Open owner/repo. The panel now shows that repository, with Not on this device under its name. HTTPS is the only transport: git in FoldRender is HTTPS-only, deliberately, because SSH would mean shipping a key agent. A pasted git@github.com: address is read as owner/repo and cloned over HTTPS, and there is no field for another host's address.

  4. Clone — anonymously, if the repo is public

    Tap Get the code. A public repository needs no account and no token. On 2 November 2026 two cloud phones cloned a public repository this way, signed out, with owner/repo typed in. While the panel is busy a linear progress bar sits under its header. The clone lands in app-private storage, in a repos directory inside the app's files directory, and the app selects it as the active repository.

  5. Let the tree finish listing

    FoldRender opens the fresh clone as the workspace automatically. The first full listing of a large repository — on the order of 4,600 files — takes a long time and shows only a spinner, with no progress indicator of any kind. It finishes. Smaller repositories list quickly.

  6. Read the repository

    The left pane's Files tab is the tree, with a type badge on every row and .gitignore-aware hiding you can undo with Show ignored files in the ⋮ above the file tree. Search greps the whole workspace, literal or regex, streaming results as path:line rows you can tap to jump; it skips binaries and files over about 1.5 MB and stops at 500 hits so one over-broad query cannot flood the pane. Shortcuts collects what you have opened, and a long-press in the tree pins a favourite. Markdown, source code, PDFs and Jupyter notebooks are the four formats whose rendering has been verified on device.

  7. Come back to the panel for repository state

    The title is a chooser: clones are listed under On this device, and tapping one makes it active. The line under the title shows the branch name, an ↑ ahead count and a ↓ behind count when they are not zero, either “clean” or “N changed”, when status was last read (“synced …”), and Browse files. The Changes tab shows either “Working tree clean” or the list of changes. Tapping the branch name lists local branches, so a branch that exists only on the remote will not appear there after a plain clone. This build has no pull button: the refresh icon re-reads the clone's status and fetches nothing.

  8. Store a credential, if you need one

    The gear opens the panel's Settings. Under Account, Sign in with GitHub sends you to GitHub in the browser and finishes the exchange on foldrender.dev, which briefly handles the token; Use a code talks only to GitHub, and you type a short code at github.com/login/device. Commit identity holds the Name and Email recorded as a commit's author, written into a .gitconfig inside app-private storage, because Android has no writable home directory for git to use. Other Git hosts opens a form with Host, Username and Personal access token, for HTTPS remotes that aren't GitHub. Tokens are encrypted with an AES-GCM key held in the Android hardware keystore and are never read back into the field, so a screenshot or a shoulder-surfer cannot recover one.

How FoldRender handles it

One panel, not a menu of dialogs

Getting the code, branch, status, history and credentials are all in the git panel, because the loop it exists to close is a single sitting. Recent commits list in the History tab, each showing the short id and the author.

Git config that behaves the same on every device

Android gives JGit no writable home and no system git config; left alone, JGit loads config on some ROMs and not others. FoldRender points all three config scopes — user, system and jgit — at app-private files, which is also what gives the app a real .gitconfig to keep your commit identity in.

Reading is the part that is finished

Browsing a clone, searching it, and rendering Markdown, source, PDFs and notebooks out of it is the verified path. That is a genuinely useful thing to have on a phone, and it is what this build delivers today.

What does FoldRender not do?

The honest list — shipped-but-unverified behaviour included, so you can tell before installing whether this build does the thing you came for.

How does FoldRender compare with the other ways to read a repo on Android?

Four apps people actually reach for, and the one axis that separates them: whether the repository ends up on the phone, and whether anything renders it once it is there.

ToolDownload priceWhere you get itClones to the deviceRenders PDF / notebook / MarkdownEditor or shell
FoldRenderUS$0Google Play, worldwideYes — HTTPS, anonymous for public reposYes — native Compose renderersA plain-text editor for files in a clone; no shell
GitHub MobileUS$0Google Play and the App StoreNo — it reads repositories hosted on GitHubOnly what GitHub itself renders, onlineEdits files inside a pull request
Termux + gitUS$0F-Droid or GitHubYes — the real git CLINo — terminal text onlyYes, a full shell and any CLI editor
MGit 1.7.0 (2023)US$0F-Droid onlyYes — clone, pull, push, HTTPS or SSH keysNoNo — its own listing says it ships no text editor

Prices are for the download. GitHub Mobile’s capabilities follow your GitHub plan; Termux and MGit are both free software. MGit’s version and date are from its F-Droid listing.

What are the numbers behind FoldRender?

Every figure here is read out of the shipping build or off a primary source listed at the foot of this page — nothing is rounded up for effect.

FAQ

Can I clone a git repository on Android without a GitHub account?
Yes. Type owner/repo or paste the address and tap Get the code; no account, token or sign-in is involved. On 2 November 2026 two cloud phones cloned a public repository this way, signed out, with owner/repo typed in. Private repositories are the case that needs a credential.
Can I commit and push from the phone?
You can commit: on 2 November 2026 two cloud phones edited a text file in a clone and committed it, with Push to origin unticked. Push is unverified. It was not part of that run, so we will not tell you it works. Treat clone-and-read as the supported loop today.
Will the git panel see a repository I already have on my phone?
No. On-device git is scoped to repositories FoldRender cloned. A folder you open through the Android folder picker is browsed as plain files, with no git integration, even if it contains a .git directory.
Where does the clone go, and can another app reach it?
Into app-private storage, in a repos directory under the app's files directory. That location is chosen because git needs a real filesystem — the storage-access framework offers no locks, no mmap and no atomic rename. It also means no storage permission is requested and no other app can read the clone.
What happens to a personal access token I paste in?
It is encrypted with an AES-GCM key held in the Android hardware keystore and never read back into the UI. The field it went into is cleared; there is no screen anywhere in the app that shows a stored token.
Does it support SSH remotes?
No. Git is HTTPS-only. SSH would mean shipping and managing a key agent. A pasted git@github.com: address is read as owner/repo and cloned over HTTPS.
Why does my branch not appear in the branch list?
The list is built from the repository's local branches. A plain clone creates one local branch; a branch that exists only on the remote has no local ref yet and so is not listed.
How much does FoldRender cost?
US$0. It is free on Google Play, distributed worldwide, with no billing library in the build, no subscription and no paid tier.
Which Android versions does FoldRender run on?
Android 11 and newer. The app declares minSdk 30 — the API level Android 11 shipped with in 2020 — and is compiled and targeted against API 36. It is developed and tested on a Galaxy Z Fold 7, which launched in 2025.
Does FoldRender work offline?
Yes, once a repository is on the device. Cloning needs the network; reading, searching, and rendering Markdown, source, PDFs and notebooks out of a clone or a picked folder do not. Signing in to GitHub is optional and only matters for private repositories.
How is this different from GitHub Mobile, Termux or MGit?
GitHub Mobile reads repositories hosted on GitHub and does not clone to the phone. Termux and MGit both clone and then leave rendering to you — Termux gives you a shell, MGit ships no text editor at all. FoldRender clones over HTTPS and renders what it clones, on the inner screen.

Where can I check these claims?

The primary documents behind the figures above, so you can confirm any of them without taking our word for it.

Page last checked against the app's source on 2026-11-02; clean-device results on it are from an earlier pass, on an earlier build.

More FoldRender guides