Member-only story

Git and GitHub from Basic to Advance in 6 Hours (2nd Hour)

Sandipan Paul
6 min read2 days ago

--

Previously in Hour 1, we learned how to set up Git, check its version, use git init, check git status and clone repositories git clone. Below is the link if you missed it

Lets Start with Hour 2

Git in Simple Terms — Follow the steps only

1️⃣ Working Directory — Where you make changes to files.
2️⃣ Staging Area — Where you mark changes to be saved (git add).
3️⃣ Repository – Where committed changes are permanently stored (git commit).
4️⃣ GitHub (Remote Repository) – Where you push commits to share (git push).
5️⃣ Getting Updates – Pull the latest changes from the repository (git pull).

Part 1

Part 1

🔹 Step 1: Check Git Status
Go inside your project folder (learn_git) and check if Git is tracking anything:

git status

--

--

Sandipan Paul
Sandipan Paul

No responses yet