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 has been verified on a clean device is the front half of it: clone a public HTTPS repository anonymously, then browse and read every file in it. Pull, branch checkout, working-tree status, staged commit and push are in the build too — nobody has run them end to end, so this page describes them as shipped rather than as working, and does not write steps you cannot follow.

Get it on Google Playfree See what FoldRender does

How do you git clone a repository on Android?

Install FoldRender from Google Play, tap the branch glyph in the top bar, paste an HTTPS URL such as https://github.com/user/repo.git into Clone an HTTPS repository URL, and tap Clone. 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

    The branch glyph in the top bar opens the git panel from anywhere in the app — you do not need a document open first. Before there is a clone, the panel's subtitle reads “No repository yet”. Everything git-related lives on this one screen rather than behind a menu of dialogs.

  3. Paste an HTTPS clone URL

    The field is labelled Clone an HTTPS repository URL, with https://github.com/you/repo.git as the placeholder. HTTPS is the only transport: git in FoldRender is HTTPS-only, deliberately, because SSH would mean shipping a key agent and a personal access token is the credential these hosts actually want. An ssh:// or git@ URL will not work.

  4. Clone — anonymously, if the repo is public

    Tap Clone. A public repository needs no account and no token; that path is verified on a clean device. 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 the Show ignored chip. 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. Recent 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

    Each clone gets a chip at the top of the panel; tapping one makes it active. Below sit Pull and Browse files, then a row of branch chips, then either “Working tree clean” or a “Changes” list. The panel header shows the branch name, an ahead count, a behind count, and either “· clean” or “· N changed”. The branch chips list local branches, so a branch that exists only on the remote will not appear there after a plain clone.

  8. Store a credential, if you need one

    Credentials & identity opens a form with Host (pre-filled github.com), Username and Personal access token, plus a separate commit identity of Name and Email. 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. The identity is written into a .gitconfig inside app-private storage, because Android has no writable home directory for git to use. Above the clone field there is also a Sign in with GitHub button — GitHub's OAuth device flow, where you type a short code at github.com/login/device. The public build ships with an OAuth client id compiled in, so the button is the button rather than a request for a client id.

How FoldRender handles it

One screen, not a menu of dialogs

Clone, pull, branch, status, history and credentials are all on the git panel, because the loop it exists to close is a single sitting. Recent commits list underneath the changes, 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
FoldRender 0.8.2US$0Google Play, worldwideYes — HTTPS, anonymous for public reposYes — native Compose renderersNo, deliberately: a reader, not an IDE
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. Anonymous cloning of a public HTTPS repository is verified on a clean device — you paste the URL, tap Clone, and no account, token or sign-in is involved. Private repositories are the case that needs a credential.
Can I commit and push from the phone?
The build contains those controls, and we have not verified that path end to end, so we will not tell you it works. There is also no way to edit a file in FoldRender, which means there is nothing to commit that the app itself produced. 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, and personal access tokens are what the hosts want anyway.
Why does my branch not appear in the branch chips?
The chips are 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 has no chip.
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. The current release is version 0.8.2.
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 and pulling need 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 reviewed 2026-08-27, against FoldRender 0.8.2.

More FoldRender guides