# Managing Different Accounts Using more than 1 git account on same machine ### While cloning - git clone git@github.com-work Here `git@github.com-work` is ssh id So if username is a1 and a2 then for a1: `git clone git@github.com:a1/code-repo.git` for a2: `git clone git@github.com:a2/code-repo.git`   - To add new origin `git remote add origin git@github.com-work:a2/code-repo.git`