Skip to main content

This version of GitHub Enterprise Server was discontinued on 2023-09-25. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.

About connections to GitHub in GitHub Desktop

GitHub Desktop uses HTTPS to securely exchange data with GitHub.

GitHub Desktop connects to GitHub when you pull from, push to, clone, and fork remote repositories. To connect to GitHub from GitHub Desktop, you must authenticate your account. For more information, see "Authenticating to GitHub in GitHub Desktop."

After you authenticate to GitHub, you can connect to remote repositories with GitHub Desktop. GitHub Desktop caches your credentials (username and password or personal access token) and uses the credentials to authenticate for each connection to the remote repository.

GitHub Desktop connects to GitHub using HTTPS. If you use GitHub Desktop to access repositories that were cloned using SSH, you may encounter errors. To connect to a repository that was cloned using SSH, change the remote's URLs. For more information, see "Managing remote repositories."

Further reading