Switch between multiple GitHub SSH accounts instantly, right inside VS Code.
Built for developers who juggle personal and work GitHub accounts on the same machine.
What It Does
Managing multiple GitHub accounts usually means editing SSH configs, changing remotes, and updating git configs manually — every single time. Go Ahead does all of that in one click.
Switch GitHub accounts without touching the terminal
Automatically updates user.name and user.email in your git config
Updates the remote URL of your current repo to match the selected account
Detects which account is active based on your remote URL
Features
Feature
Description
Switch Account
Change the active GitHub SSH account for the current repo
Add New Account
Register a new SSH account with its key and host alias
Test Connection
Run ssh -T to verify the selected account works
Edit SSH Config
Open your ~/.ssh/config file directly
Sync Git Config
Sync user.name and user.email to match the active account
Auto Detect
Reads your remote URL to detect which account is already active
How to Use
Open the Panel
Press Ctrl+Shift+G twice (Cmd+Shift+G on Mac)
Or right-click in the editor/explorer → Go Ahead
Or open the Command Palette (Ctrl+Shift+P) and type GitHub Account
First Time Setup
Open the panel
Click Add New Account
Fill in:
Name — e.g. Personal or Agency
SSH Host Alias — the Host entry from your ~/.ssh/config (e.g. github.com-agency)
SSH Key Path — path to your private key (e.g. ~/.ssh/id_ed25519_agency)
Email — your GitHub email for this account
Username — your GitHub username for this account
Switching Accounts
Open the panel
Click Switch Account
Select the account you want — done!
Requirements
Git installed and available in terminal
SSH keys already set up for each GitHub account
~/.ssh/config configured with a Host alias per account
Example ~/.ssh/config
Host github.com-personal
HostName github.com
User git
IdentityFile ~/.ssh/id_ed25519_personal
Host github.com-agency
HostName github.com
User git
IdentityFile ~/.ssh/id_ed25519_agency
Extension Settings
Setting
Default
Description
githubAccountSwitcher.syncGitConfigOnSwitch
true
Auto-update user.name and user.email when switching