This post is to learn how to connect Git hub server to JDeveloper. Github is providing a Github Desktop client to connect github repository. But if you are a JDeveloper user, then you can also connect the repository from the JDeveloper. I am using JDeveloper version: 12.1.3.0.0 in this example and below is the procedure to do it.
Open the JDeveloper. Under the Team menu select "Connect Git" option.
Below screen will be shown
Click Next. You will be prompted for Git details as shown below.
Enter Repository Name: This should match with any branch name in the repository you want to connect.
Enter repository URL: make sure you have ".git" at the end of the URL.
Enter username and password of the repository.
Click Next. You will see a window fetching the branches from the given repository.
It will list out all the branches in the given repository as shown below.
Un-select the branches which are not required.
Click Next. Below window will be shown which prompts for destination folder to where the project will be downloaded from the selected branch, clone name and check out branch from which you want to download the project.
Click Next. It will show the final summary window as below.
Click Finish. It will create a local repository and download the project from the selected Git branch to the local folder and open the project in JDeveloper.