Skip to main content
Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Troubleshooting Visual Studio 2019

There are some certificate issues that occur when attempting to use Visual Studio 2019 with GitHub.com when inside the VA network.

How to Make Visual Studio 2019 work with GitHub

  1. Open Visual Studio
  2. Navigate to Tools -> Options
    Visual Studio 2019 Options
  3. Navigate to Source Control and set the Source Control Plugin to Git Visual Studio 2019 Source Control
  4. Navigate to the Team Explorer Window and click the Home button
    VS2019 Team Explorer Home
  5. Open the Settings menu and click Global Settings
    VS2019 Settings
  6. Set the Cryptographic network provider to “Secure Channel”
    VS2019 Cryptographic Network Provder
  7. Open File Explorer and navigate to:
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\bin
    File Explorer
  8. In the whitespace, “Shift + Right Click” and select Open PowerShell Window here
    Shift + Right click menu
  9. Run the following command to verify the settings of http.sslbackend=schannel
    .\git config --global --list
    Power Shell Git Config Global List
  10. Run the following command to set http.schannelCheckRevoke to false
    .\git config --global http.schannelCheckRevoke false
    Power Shell schannel set to false
  11. Run the following command to verify the settings of http.schannelCheckRevoke=false
    .\git config --global --list
    Power Shell schannel verify

Return to Guides