How to Upload Your Code to GitHub Using GitHub Desktop

Uploading your code to GitHub is easy! In this tutorial, you just need the following:

  1. Your saved project.
  2. GitHub Desktop.

You can download GitHub Desktop at

Now, once you have downloaded and opened Github Desktop, click “Add” and then “Create New Repository”.

Once you have clicked “Create New Repository”, a box will pop up in which you will fill out your project’s information.

First, you will need to fill out the name. In this example, we have a project called “Blazor Server App”. So for the name, we will call this repo “blazor-server-app”. Below, you can also fill out the description box, which is optional.

Once you have filled out the name and description boxes, under Local Path, click the “Choose” button. This will take you to your file directory on your computer. This is the step where we choose which project we want to upload to our GitHub.

As stated above, in this example, a project called Blazor Server App, will be used.

You can now click “Create Repository”.

The repository has been created, now we’re going to click “Publish repository” to push it to GitHub.

A box will pop up, you can decide whether you want to make your code public or private. In this case, we’ll keep the code private. Next, click “Publish repository” again.


Once you publish your repository, you will see a message that states “Publish Branch- Cannot publish unborn HEAD”. You will need to make a commit and push it to your GitHub account.

This means you need to add a summary, describing the project that you are posting to your account.

Once you have added your summary, click the “Commit to master” button.

You will now select “Publish branch”.

Now let’s go to your GitHub account!

You should now see your project on your GitHub!




Proud Pug Mama | I love Blazor | C# | HTML | CSS | #WomenWhoCode | 80’s Heavy Metal Fan | Hiking Enthusiast

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Profile: Kathleen Fleischmann, Web Application Developer

The art of problem-solving in programming industry

How to Create a Simple Webpage in HTML 5 With Notepad

Html 5 codes are displayed on a MacBook screen. Next to the MacBook are two mobile devices sitting on a table.

BigQuery at Retail: Create an hourly sales summary from the raw sales data

HTML Injection in GoToMeeting Chat — MAC

TronLink Weekly Report (2020.05.25–2020.05.31)

Return different type of data with Seald Class in Kotlin

ZilliqaNews Open Letter: The Pre-Launch

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Elahn Danee

Elahn Danee

Proud Pug Mama | I love Blazor | C# | HTML | CSS | #WomenWhoCode | 80’s Heavy Metal Fan | Hiking Enthusiast

More from Medium

Connect to your MySQL Database using C# & Windows Forms

WPF: Using Commands for button actions.

How to remove a property from a large JSON list using NotePad++

Git internals (Part 1)