This post is all about how to create a Git repository from Visual Studio in GitHub. One of the most popular programs for managing your source code, Visual Studio makes it easy to create and manage projects with its integrated development environment (IDE). Now you can take advantage of the power of Git without leaving your IDE.
Github integration with visual studio 2019 makes it easier to get started, faster to collaborate and simple enough that you can go back to your day job. Github is a web-based hosting service for version control using git. It offers all of the distributed revision control and source code management (SCM) functionality of Git as well as adding its own features.
To configure GitHub global settings and connect VS and GitHub, click on the Git menu from the Visual Studio top menu bar and select Settings.
Click on Settings to access the Git Global configuration settings.
From the Options menu, click on Git Global Settings as shown below and fill in the details of your GitHub account.
Create a repository
Now that Git is configured to use GitHub, let us create a repository by clicking on the Create Git Repository from the Git menu.
From the Create a git repository page, fill in all the details for the new repository and click on Create and Push.
At this stage your repository is ready and all the code has been pushed to GitHub. Log in to GitHub to confirm that all the data has been pushed.
About Visual Studio 2019
Visual Studio 2019 is an IDE with a C++ compiler for building native Windows 10 applications. This release delivers the full-featured version of Visual Studio with traditional menus and toolbars that you’re used to from previous versions, but it also has a new streamlined modern UI. And when the two environments are combined, they provide a powerful unified experience that empowers developers to create amazing apps for any platform.
GitHub started in 2008 and is a web-based hosting service for software development projects that use the Git revision control system. It offers all of the distributed version control functionality of Git as well as adding its own features.