---
title: "Put a coding project on GitHub"
url: "https://georgeliinternships.com/learn/research/computer-science-projects-on-github.md"
canonical_url: "https://georgeliinternships.com/learn/research/computer-science-projects-on-github"
last_updated: "2026-12-01"
type: "guide"
summary: "A first-time walkthrough for publishing a coding project on GitHub with the desktop app: repository, commit, publish, README and later updates."
related: ["https://georgeliinternships.com/learn/research/computer-science-research-project-ideas.md", "https://georgeliinternships.com/learn/research/get-into-cs-research-college.md", "https://georgeliinternships.com/learn/research/build-a-research-portfolio.md", "https://georgeliinternships.com/learn/research/ai-research-project-ideas.md", "https://georgeliinternships.com/interview-coaching.md"]
---

# Put a coding project on GitHub: a first-time walkthrough

> **For AI agents:** the complete index of George Li Internships pages is [llms.txt](https://georgeliinternships.com/llms.txt). Every page is also served as markdown at its URL plus .md.

A first-time walkthrough for publishing a coding project on GitHub with the desktop app: repository, commit, publish, README and later updates.

A paper or a blog post cannot show that your program runs. A public repository can. This guide takes you from a folder of code on your computer to a project page anyone can read, using the point-and-click desktop app instead of the terminal.

## Why a coding project belongs in a repository

Coding projects come in many forms: an app, a game, a research tool, a data analysis, a learning aid. A written summary describes the idea, but a reader who wants to judge the work needs to see the code, run it and sometimes reuse it. Sharing code in the open is called open source, and the most widely used home for it is GitHub, which accepts projects from anyone with a free account.

Hosting your work there also gives you version history. Every saved change is recorded with a date and a note, so when a bug appears weeks later you can see what changed, and when you work with other people everyone can follow each other's edits. That record is also evidence that you built the project over time.

## The vocabulary in plain words

| Term | What it means |
| --- | --- |
| Git | The version-control program that records changes to your files on your own computer |
| GitHub | A website that stores a copy of your Git projects online so you can share them |
| Repository | A project folder that Git is tracking, with a copy on your computer and a copy on GitHub |
| Commit | A saved snapshot of your changes, with a short message that says what you did |
| Publish | The first upload of a local repository to GitHub |
| Push | Sending later commits from your computer to the online copy |
| README | A text file shown on your project page that explains what the project is |
*Terms you will meet in the first hour*

## Set up in four steps

1. Create a free GitHub account on the GitHub website, using an address you will keep for years.
2. Download the GitHub Desktop app for Windows or Mac from GitHub's own site and install it.
3. Open the app and sign in with your account. If the sign-in screen does not appear, look in the app's preferences (Mac) or options (Windows) for the account section.
4. Pick a folder on your computer where all your coding projects will live. Having one home for them makes projects easy to find, and the app suggests the same habit.

## Publish your first project

1. In the app, choose the menu entry that makes a fresh repository stored on your own machine. Give it a short name, pick the projects folder you chose during setup, and confirm. The app creates an empty project folder.
2. Put your code in that folder. If you are starting fresh, open the folder in your code editor. If the work is finished, use the app's button to open the folder in your file manager and copy your files in.
3. Return to the app. The left side lists every file that changed, and since you just added everything, every file counts as new. The right side shows what is in each one.
4. Write a summary in the box at the bottom left. A message such as "add login page" or "fix broken menu" is enough. Short, specific messages make your history readable later. The app proposes a summary if you added only one file, but write your own when you changed several.
5. Press the commit button. This saves a snapshot on your computer only. Nothing is online yet.
6. Press the publish button. Keep the repository name the same as your folder, add a one-line description if you like, and leave the box for keeping the code private unchecked, because the point here is to share it. Confirm, and after a few seconds the app shows an empty changes list and a link to the online copy. Your code is now on GitHub.

## Add a README so visitors understand the project

A project page with only files is hard to read. Create a plain text file named README.md in the project folder. It is written in a light formatting language, so a line that starts with a pound sign becomes a heading and lines that start with a dash become bullets.

A useful README for a student project answers a few questions in order:

- What does the project do, in one or two sentences?
- Why did you build it, and what question or need started it?
- How does someone run it? List the software to install and the commands to type.
- What are the known limits, and what would you add next?

Save the file, return to the app, and it will notice the change. Write a new summary and commit again. This time the top button reads push instead of publish, because the online copy already exists and you are sending an update to it. Reload your project page to see the README displayed under the file list.

## Keep it up to date

Projects change, and the repository can follow them. The routine never varies: edit and test your code, commit with a clear message, then push. Commit in small steps. A change that you cannot describe in one short line is probably two changes.

Before you publish, check that your folder holds nothing private. Passwords, access keys and personal data should never be committed, even briefly, since history keeps them. If a project needs a key, store it outside the folder and say in the README how to supply your own. The app can also ignore files you list, which keeps scratch work and secrets out.

## How a repository helps your research story

A repository gives a reader a link they can open. In a research or application setting, pair it with a short write-up that states the question, the method and the result. Then point to the repository for the details. If a lab, teacher or mentor asks to see your work, a clean project page with a clear README and a readable history is a better answer than a zip file.

## Questions

### Do I have to use the terminal to use GitHub?

No. The desktop app handles creating a repository, committing and publishing with buttons. You will pick up the terminal commands later, and the ideas you learn in the app are the same ones those commands use.

### Should my first repository be public or private?

Make it public if you want others to see it, and private while you are still working or if it holds anything sensitive. You can change the setting later. Never place passwords or keys in either kind.

### What is a good commit message?

State what you changed in a few words that begin with a verb, such as "add score counter" or "fix crash on empty input". Someone reading your history months later should understand each step without opening the files.

### Can I put a school assignment on GitHub?

Check your teacher's rules first, since some classes forbid sharing solutions. Personal projects, research code and anything you own outright are usually fine to publish.

## Related

- [20 computer science project ideas](https://georgeliinternships.com/learn/research/computer-science-research-project-ideas.md)
- [CS research as an undergraduate](https://georgeliinternships.com/learn/research/get-into-cs-research-college.md)
- [Build a research portfolio](https://georgeliinternships.com/learn/research/build-a-research-portfolio.md)
- [AI project ideas for students](https://georgeliinternships.com/learn/research/ai-research-project-ideas.md)
- [Internship interview coaching](https://georgeliinternships.com/interview-coaching.md)
