← Back to list

How to Upload Your Local Project to GitHub (Step-by-Step for Beginners)

If you’re new to development, one of the most important skills you’ll learn is how to put your project on GitHub. This lets you back up…

Mohammad Azeem · 2025-08-10 12:20 · 1 claps · 0.9 min read
#github #git #software-development #ci-cd-pipeline #git-commit
Open on Medium ↗
Wiki topics: ☁️ · DevOps & Cloud 🔓 · Open Source

How to Upload Your Local Project to GitHub (Step-by-Step for Beginners)

If you’re new to development, one of the most important skills you’ll learn is how to put your project on GitHub. This lets you back up your code, collaborate with others, and showcase your work.

Here’s a quick and easy guide:

1. Create a Repository on GitHub

  • Go to GitHub → Click New Repository.
  • Name your repository and choose Public or Private.
  • Don’t initialize with a README if you already have one locally.

2. Open Your Project in Terminal

cd /path/to/your/project

3. Initialize Git

git init

4. Link to GitHub

git remote add origin https://github.com/username/repo.git
  1. Add and Commit Files
git add .
git commit -m "Initial commit"

6. Push to GitHub

git branch -M main
git push -u origin main

🎉 Done! Your local project is now live on GitHub.

If it works fine give a clap 👏 and ***Follow ***for more stories related to development.

Enjoy your journey with {}

Mohammad Azeem

Building **quick commerce software** solution at **Hyperzod.**


메타데이터
post_id
80fb66a11cfe
slug
how-to-upload-your-local-project-to-github-step-by-step-for-beginners-80fb66a11cfe
url
https://medium.com/@md.Azeem/how-to-upload-your-local-project-to-github-step-by-step-for-beginners-80fb66a11cfe
canonical_url
https://medium.com/@md.Azeem/how-to-upload-your-local-project-to-github-step-by-step-for-beginners-80fb66a11cfe
author_url
https://medium.com/@md.Azeem
status
ok
fetched_at
2026-07-18 09:00:38