Rediger

Del via


Create a GitHub account to use with Visual Studio

With a GitHub account, you get full GitHub support from within the Visual Studio IDE to both manage your code and collaborate with others on development projects.

If you don't already have a GitHub account, here's how to create one.

  1. Open https://github.com in a web browser, and then select Sign up.

    Screenshot of the Sign Up for GitHub page.

  2. Fill out the online form, and then select Create account.

    Screenshot of the online form.

  3. Verify your account by solving a puzzle. Select Visual puzzle or Audio puzzle to do so, and then follow the prompts.

  4. After you verify your account, select the Create account button.

  5. Next, GitHub sends a launch code to your email address. Type that launch code in the Enter code boxes, and then select Continue.

    Screenshot of the Enter code boxes.

  6. After you sign in, GitHub opens a personalized page in your browser.

    Screenshot that shows the personalized page.

Congratulations! You've successfully created your GitHub account.

Multiple GitHub accounts

You can manage more than one GitHub account in Visual Studio. Different accounts can have access to a different set of repositories and have their own access tokens. For example, if you have an account you use for work or school, you might need to create a separate account for personal use, or the other way around. Or, you might need to manage separate GitHub accounts for different employers to keep access to private assets and tokens clearly separated. See Add GitHub accounts to your keychain. When using version control, you can switch accounts as needed.