GuidePro
Sync your workouts with Git (GitHub, GitLab, Codeberg)
Pavel Klečanský3 min read

Git is for people who want the whole history of their training. Every sync is one commit, so you can go back to any earlier version, edit workouts on your computer in an editor, and the repository doubles as a backup. Sync is part of JinLog Pro.
Which service
Screens from the JinLog app.
| Service | On the phone | On the web |
|---|---|---|
| GitHub | sign in with a code, no token | a token of your own |
| GitLab (gitlab.com) | sign in with a code, no token | sign in on GitLab’s page |
| Gitea, Forgejo, Codeberg | server address and a token | not possible |
| Any other Git server | repository address, user name and a token | not possible |
A web page may only talk to GitHub’s and GitLab’s APIs. Other servers work from the phone app only.
GitHub on the phone
- Open More → Sync → Git and choose GitHub.
- The app shows a code. Tap Copy the code and open GitHub, paste the code on GitHub’s page and allow access for JinLog.
- Come back to JinLog; it notices the sign-in by itself.
- Tap Choose repositories on GitHub and pick which repositories JinLog may use. It sees no others.
- Pick the repository from the list. To start a new one, tap Create on GitHub: GitHub opens with the form filled in.
I suggest a private repository just for your workouts.
GitLab on the phone
The same as GitHub: a code, confirm in the browser, back to the app. Then pick a repository from the list, or let the app create a new private one.
Gitea, Forgejo, Codeberg
- Choose Gitea, Forgejo, Codeberg and enter the Server address, e.g.
codeberg.org. - Tap Open the server’s page for tokens (Settings → Applications) and make a token with
repository: Read and Write. To create a new repository straight from the app, adduser: Read and Write. - Paste the token into JinLog and pick the repository.
The app never wants your account password. A token can be limited and revoked at any time.
GitHub on the web
On app.jinlog.app GitHub does not allow signing in with a code, so you connect with a token:
- Create a repository for your workouts on GitHub.
- In JinLog, choose GitHub and tap Make a fine-grained token.
- Limit the token to that one repository with Contents: Read and write and paste it into the app.
Another server, or a token of your own
Under Another server, or a token of your own you enter the Repository address (HTTPS), User name, Access token and, optionally, the Branch. It works with any Git server, your own included.
What shows up in the repository
workouts/2026/2026-12-01_….jinlog ← one workout, one text file
exercises.json ← your exercises and own names
plans.json ← training plans
jinlog.json ← favourite exercises
Workouts are in the JinLog format. You can edit them on your computer, commit and push, and JinLog pulls and merges the changes on the next sync. It leaves other files in the repository alone, so feel free to add your own README.
Questions
What if I edit the same workout on the phone and on the computer?
Changes are merged line by line. Different lines both stay; for the same line the workout keeps both versions.
How do I turn sync off?
Tap Disconnect repository. For GitHub, revoke access in Settings → Applications; for Gitea or Forgejo, delete the token. The repository and the workouts on your phone stay.
Can JinLog see my other repositories?
On GitHub, only the ones you pick on GitHub. With a token, only what the token allows.
Did this post help?


