Sitemap
D Naresh

D Naresh

Uploading Projects to GitHub

Python Made Easy - (Article 20) Telugu Explanation

4 min readNov 7, 2025

--

Press enter or click to view image in full size

1. Introduction - Why GitHub?

GitHub ante oka online platform
idi manam code ni store cheyyadaniki, manage cheyyadaniki, share cheyyadaniki use chestam.
Simple ga cheppali ante, idi oka digital folder for developers, but with extra powers
GitHub ni use chesthe, teamwork easy avuthundi, and you can show your projects to the world.

Main points:

  • Version Control: ante manam code lo chesina every change record avutundi. Ante, every time manam code lo change chesina appudu,
    GitHub aa version ni save chestundi.
  • Collaboration: multiple people can work on the same project at the same time.
    For Example three developers okka project meeda panichesthunaru.
    If local lo work chesthe, files confuse avuthayi
    but GitHub lo,

each person can work in their own branch (like their copy of the project),

later merge chestham into main branch,

if conflicts unte, GitHub help chestundi resolve cheyyadaniki.

  • Backup: code cloud lo safe ga untundi. Even if system crash ayyina, projects safe ga GitHub lo untayi
    Laptop lekapoyina, mobile or any system nundi code access cheyyachu
  • Portfolio: job seekers ki perfect place to showcase your projects. Recruiters and companies first chusey place enti ante - GitHub Profile
    Indulo manam upload chesina projects, coding style, and regular activity kanipistundi.
    So, GitHub link ni resume lo petti, manchi impression ivvachu

2. But before GitHub - What is Git?

Git ane tool manam local system lo install chesukuntam.
It works like a code tracker - ante, manam code lo change chesina prati version ni save chestundi

Git and GitHub rendu separate things kaani work together chestayi

ToolPurposeGitLocal version control tool (offline ga work chestundi)GitHubOnline platform to store and share Git projects

Example:
Imagine nenu “calculator” project chesthunnanu:
1. Git local ga version ni save chestundi (offline backup)
2. GitHub online lo project upload chestundi (cloud backup)

Get D Naresh’s stories in your inbox

Join Medium for free to get updates from this writer.

So, if system crash ayyina or friend tho share cheyyali ante,
GitHub lo nundi directly access cheyyachu

Step 1: Installing Git

Press enter or click to view image in full size

Before using GitHub, manam Git software install cheyyali, it helps to manage versions and connect to GitHub.

For Windows:

  1. Go to 👉 https://git-scm.com
  2. Click on Download for Windows
  3. Install using default options (just click Next → Next → Finish)
  4. After installation, open Command Prompt or Git Bash
  5. Type:
git --version

Output example:

git version 2.45.0

If you see version number - Git install ayindi ✅

Step 2: Set Your Identity (First Time Only)

Press enter or click to view image in full size

Git ni first time use chesthe, you must tell it your name and email (GitHub lo use chesina email same undali).

git config --global user.name "Naresh D"
git config --global user.email "nareshd123@gmail.com"

Check:

git config --list

Step 3: Create a GitHub Account

  1. Go to 👉 https://github.com
  2. Click Sign Up
  3. Enter username → nareshd
  4. Add email → nareshd123@gmail.com
  5. Verify email and login

Step 4: Create a New Repository (Project Space)

  1. Click New Repository
  2. Repository name: e.g. python-mini-projects
  3. Description: “A collection of simple Python CLI projects for beginners.”
  4. Choose Public (so others can see)
  5. Click Create Repository

Step 5: Upload Code (Two Methods)

Method 1: Direct Upload (Beginner Friendly)

  1. Open your repo → click Add file → Upload files
  2. Drag & drop your .py files
  3. Add a message (like “Added calculator project”)
  4. Click Commit changes ✅

Method 2: Using Git Commands (Advanced Way)

# Go to your project folder
cd Desktop/python-projects
# Initialize git
git init
# Add your files
git add .
# Commit the code
git commit -m "First commit - Added calculator project"
# Connect with GitHub repo
git remote add origin https://github.com/nareshnandan/python-mini-projects.git
# Push the code
git push -u origin main

Note: If “main” branch not exists, use master instead:

git push -u origin master

Step 6: Add a README File

README.md lo project details cheppu — this is the first thing people see.
Example:

# 🧮 Simple Calculator in Python
This is a basic calculator that performs addition, subtraction, multiplication, and division.
## 💻 How to Run
```bash
python calculator.py

Features

  • Simple & beginner friendly
  • Command-line interface
  • Works on any OS

Step 7: Collaborate with Others

GitHub lo teamwork super easy
- You can “invite others” to your repo
- Use “branches” for separate features
- Merge them later safely

Example:
```bash
git branch new-feature
git checkout new-feature

Tarvatha changes chesi, merge cheyyachu:

git merge new-feature

Bonus Tips:

  • git status → shows current state
  • git log → shows history
  • git pull → update from GitHub
  • git push → send code to GitHub

Key Takeaways

Press enter or click to view image in full size

Practice Tasks

  1. Install Git and check version.
  2. Create one new repository called my-python-cli.
  3. Upload your calculator project manually.
  4. Add a README.md file describing your project.
  5. Use git push and git pull commands to practice version control.

Previous & Next

Next Article: 👉 21.Creating Chatbots with Python

Previous Article: 👉 19.Building Simple CLI Projects in Python

--