Can you have two GitHub accounts? Yes, if the second one is a bot or a work account your employer manages. Section B.3 of GitHub's Terms of Service has the rule in two sentences: "You may maintain no more than one free machine account in addition to your free Personal Account. One person or legal entity may maintain no more than one free Account (if you choose to control a machine account as well, that's fine, but it can only be used for running a machine)." (Terms of Service, effective 27 April 2026, read 2 November 2026.) A second account that is another you is not allowed.
Mosaic keeps accounts you are entitled to run apart; it does not change what a platform allows. On GitHub that is one free personal account per person, so most of this page is about what to use in its place.
What GitHub's terms allow, account by account
Three kinds of user account come up when people ask this, and the terms treat them differently.
| Account | Who makes it | What GitHub allows |
|---|---|---|
| Personal account | You, at sign-up | One free one per person or legal entity |
| Machine account | You, for a bot | One free one on top, "used exclusively for performing automated tasks" |
| Managed user account | Your employer, in GitHub Enterprise Cloud | Exists alongside your personal account; it cannot create public content |
The same section says "You must be a human to create an Account" and that accounts registered by bots "are not permitted". A machine account is the exception, and it has an owner: a human who accepts the terms for it, gives a valid email address and "is responsible for its actions". Several people may direct it; the owner still answers for it.
The Acceptable Use Policies close the other door. Section 4 lists "inauthentic interactions, such as fake accounts and automated inauthentic activity" and "rank abuse, such as automated starring or following" as activity GitHub does not allow. A second account to star your own repositories is both.
Each profile keeps its own passwords and its own 2FA codesIn Mosaic: Logins and 2FA codes. A password vault and TOTP codes for each profile. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.
Mosaic is a desktop app
Email yourself the link and open it on your computer.
How it works: Logins and 2FA codes
Can you have two GitHub accounts for work and personal?
The usual reason for a second account is a new job. GitHub's answer is the opposite of a second login. Its page on types of accounts says many people use one personal account for open source and paid employment alike, and "if you're currently using more than one personal account that you created for yourself, we suggest combining the accounts."
That works because an organisation is not something you sign in to. Your employer invites your personal account to its organisation, and every action you take there is attributed to you. One account can belong to several organisations at once.
The exception is a company on Enterprise Managed Users. There, the employer creates a managed user account for you, and you have to sign in to it to reach the company's repositories. It can't contribute to public projects, so open source work stays on your personal account (Personal account management). Two accounts are expected in that set-up, and GitHub built tools for it.
Bots and CI: a machine account, or no account at all
A machine account suits a CI job that needs to push, comment or open pull requests as a named user. You get one free one. Before making it, read GitHub's page on when to build a GitHub App. An App has fine-grained permissions and short-lived tokens. It is not tied to a user and doesn't take a seat, and it keeps working when the person who installed it leaves. A personal access token on your own account covers API testing and short scripts.
Using two GitHub accounts on one computer
GitHub gives you three tools for the set-ups it allows.
- The account switcher. Click your profile picture, then Add account, and sign in. It handles a personal account beside a machine account or a managed user account, and the sessions stay on that computer and browser (Switching between accounts).
- Git over two protocols. One account's credentials for HTTPS, the other's SSH key, chosen by how you clone.
- Per-repository credentials. Run
git config --global credential.https://github.com.useHttpPath trueand give each account its own personal access token, so Git caches a token per remote URL (Managing multiple accounts).
GitHub's own warning comes with all three: "Management of two or more accounts can increase the chance of mistakenly leaking internal code to the public."
If you already have two personal accounts
GitHub's merge is a set of steps, not a button (Merging multiple personal accounts). Transfer the repositories to the account you keep (issues, pull requests and wikis go with them), update the remote URLs in your clones, delete the other account, then add the email you committed with to the account you keep.
The personal account reference lists what stays behind. Organisation and repository permissions don't transfer, so an owner has to invite the kept account. Commits made with a GitHub noreply address can't be moved, and issues, pull requests, discussions and achievements are not re-attributed.
Where a separate browser profile fits
We make Mosaic, a browser that gives each account its own profile with its own cookies, fingerprint and proxy. It does not turn a second free personal account into an allowed one, and the account switcher already covers a machine account for most people.
Where a profile helps is the rest of the work around that machine account or managed account: the cloud consoles, package registries and dashboards it signs in to. Each one then lives in its own cookie jar, away from your personal sessions. What a site uses to tie two sessions to one person is set out in how websites detect multiple accounts. A profile's vault holds that account's password and its TOTP code, which Mosaic types into the page with real keystrokes, so your bot's 2FA is not sitting in your phone's authenticator.

The bot itself can run there too. On Pro, a Mosaic profile starts over the local REST API and hands back a CDP endpoint that Playwright and Puppeteer attach to, which is how automating several browser profiles works.

LinkedIn draws the line differently, with no machine account at all; the rule and its alternatives are in can you have two LinkedIn accounts.
Sources
- GitHub Terms of Service (effective 27 April 2026), section B.3 Account Requirements, read November 2, 2026
- GitHub Acceptable Use Policies, section 4 Spam and Inauthentic Activity, read November 2, 2026
- GitHub Docs: Types of GitHub accounts, read November 2, 2026
- GitHub Docs: Personal account management, read November 2, 2026
- GitHub Docs: Merging multiple personal accounts, read November 2, 2026
- GitHub Docs: Personal account reference, read November 2, 2026
- GitHub Docs: Switching between accounts, read November 2, 2026
- GitHub Docs: Managing multiple accounts, read November 2, 2026
- GitHub Docs: Deciding when to build a GitHub App, read November 2, 2026






