In the previous recipe, Initializing a Git repository, we saw how to create a new local Git repository. This is a useful technique when starting new projects; however, most of the time we aren't starting new projects, but are instead working on existing projects.
In this recipe, we'll see how to clone a Git repository so that we can work on a project that is already stored in the source control.
You can use any of the Java download bundles of NetBeans (Java SE, Java EE, or the All bundle) to complete this recipe as they all have Git support built into NetBeans.
To complete this recipe, you will need to create a fork of the JarViewer
repository on GitHub. A fork is essentially your own copy of a repository that you can make changes to without affecting the original product.