You can use a central authentication service, or CAS, with the GitHub for Windows application via OAuth tokens. This is especially useful for working with a GitHub Enterprise installation.

  1. Sign in to your GitHub Enterprise instance.
  2. Navigate to your user profile page. For example, if your GitHub Enterprise instance is at http://github-enterprise-hostname.dev, you would go to http://github-enterprise-hostname.dev/USERNAME/settings/profile.

  3. In the user settings sidebar, click Personal access tokens. Personal access tokens

  4. Click Generate new token. Generate new token button

  5. Give your token a descriptive name. Token description field
  6. Select the scopes you wish to grant to this token. The default scopes allow you to interact with public and private repositories, user data, and gists. Selecting token scopes
  7. Click Generate token. Generate token button
  8. Copy the token to your clipboard. For security reasons, after you navigate away from this page, no one will be able to see the token again. Newly created token
  9. Launch GitHub for Windows.
  10. In the upper-right corner, click the , then click **Options...*. GitHub for Windows options selection
  11. Click Add GitHub Enterprise Account. GitHub for Windows add Enterprise account
  12. Type your GitHub username and GitHub Enterprise URL. In the password field, paste the OAuth token you copied earlier. GitHub for Windows adding Enterprise details
  13. Click Log in.