Skip to content

How to Create a Repository in Github Desktop? – Easy and Fast (Example) | See How It’s Done

11 de July de 2021

Creating Git repositories becomes a much easier and faster process if you use a tool like Github Desktop. With it you can upload Java projects created in Netbeans to Github or from a different platform. For this reason, we recommend this article with which you can learn how to create a repository in Github Desktop.

What is Github Desktop?

Github Desktop is an application based on a graphical user interface which allows code developers to interact in a practical and simple way with the Github platform when creating repositories.

What is Github Desktop for?

Github Desktop is for create, add and clone repositories easily without the need to write command lines from the “Git Bash” that is included by default in Github. This way, it will be easier to upload local projects to Github from Visual Studio Code in order to make improvements and / or changes when necessary.

How does Github Desktop work?

Github Desktop simplifies the workflow on the Github platform through a visual interface. In this sense, users must download “Github Desktop” on their computer. Then, the developer enters the username and password of his Github account and proceeds to “Configure Git”.

The interface shows the user several options in order to create a repository or clone it, as well as a tutorial to carry out these processes.

How to create a repository in Github Desktop? – Fast and easy

Creating a repository is something very useful and that every developer should know. In order to create a repository on Github desktop, it is necessary that you follow the steps that we present below:

Download the application “Github Desktop”

First of all, it is necessary download the Github Desktop app in the computer. To achieve this, you must access the official page of the Github platform from the Desktop.Github website. Once you get the installation file, run it for the installation process to take place.

Login to Github Desktop

Open the Github Desktop application and follow the instructions offered by the interface initially. Select the option “Configure Git” and configure both your name and your email. It is recommended that you use the same email associated with your Github account.

Immediately, you will see the message “Let’s get started” and the option to create a repository, clone a repository as a tutorial.

Learn how to create and clone a repository

Click on the option “Create a tutorial repository and clone it” and follow all the instructions in the tutorial so that you learn to use the application.

Create a new repository

Later, click on the option “Create a new repository on your hard drive” and fill in the following fields: “Name” or name of the repository, “Description” is an optional field to add information about the project and “Local Path” or the local path that indicates the location of the repository on the computer.

Initialize the repository with README

In case you want to share your work with other users of the Github community you can initialize the repository with a file or “read me” with which you can offer other users additional information about the objective of your project so that they learn more about it.


Check the drop-down menu

The Github Desktop drop-down menu presents the option “Git Ignore” or “Ignore files.” If you activate it, skip specific files from your local repository that you don’t want to save in version control. Also, you can add an open source license from the “LICENSE” drop-down menu. Finally, click on “Create repository”.

Upload the repository to Github

It is recommended that you publish the repository you just created on Github, since up to now it is on the computer and only you can view it. To upload it to the platform, go to the Github website and select the option “Publish repository” or “Publish repository”. Afterwards, you can upload a new or existing project to the Github Desktop repository.

There, you will see the “Name” and “Description” fields of the repository as well as the option “Keep this code private” if you do not want to share your code with other users. Finally, press the “Publish Repository” button and select “View on GitHub” whenever you want view the repository from your web browser.