Time for action — cloning a Git repository from GitHub via the SSH protocol
For this tutorial, we will act as a collaborator to that GitHub project, and have our own SSH public key added to the GitHub account. We will add our SSH private key using NetBeans. Along with repository cloning, NetBeans provides the option to create a fresh new project:
- Select Team | Git | Clone..., and the Clone Repository wizard will be displayed.
- Specify the path to the repository required in the Repository URL field, for example
- Verify that Username is
- Browse the Private Key File location.
- Add Passphrase, which you created during the key generation, and (optionally) select the Save Passphrase checkbox. The Remote Repository ...