You can connect to GitHub using SSH.
Using the SSH protocol, you can connect and authenticate to remote servers and services. With SSH keys, you can connect to GitHub without supplying your username or password at each visit.
Before you generate an SSH key, you can check to see if you have any existing SSH keys.
After you've checked for existing SSH keys, you can generate a new SSH key to use for authentication, then add it to the ssh-agent.
To configure your GitHub account to use your new (or existing) SSH key, you'll also need to add it to your GitHub account.
After you've set up your SSH key and added it to your GitHub account, you can test your connection.
You can secure your SSH keys and configure an authentication agent so that you won't have to reenter your passphrase every time you use your SSH keys.