Sitemap

GitHub — Setup

Dec 5, 2025

--

step 1 — create a github account.

step 2 — Now see for new repository option and click it.

step 3 — Fill all the required option in it.

step 4 — after creating repository move to vs.code powershell.

step 5 — get into the folder which you want to uplaod on it and write bellow written comand.

Get Ashutosh Pandey’s stories in your inbox

Join Medium for free to get updates from this writer.

cmd 1 — git init

cmd 2 — git add . ← — — — — — — — — — — -(where . means every file present in that folder)

cmd 3 — git commit -m “Initial commit” ← — — — — — — — — (message for commits)

cmd 4 — git branch -M main

cmd 5 — git remote add origin url of your repository

cmd 6 — git push -u origin main

and ow your files are added to github repository

--

--