Initialize Git and publish your first repo.
Git — version control
Downloads
Git: https://git-scm.com/downloads
Part 1. Init and commit
Initialize Git (Terminal in VS Code: Ctrl/Cmd + `):
bash
git init
git add .
git commit -m "Initial commit: techforge setup"
Part 2. Publish to GitHub
Publish to GitHub (easiest way):
Source Control panel (left sidebar) → Publish to GitHub → follow prompts.
OR create a new repo on GitHub.com, then:
bash
git remote add origin https://github.com/<your-username>/techforge-setup.git
git branch -M main
git push -u origin main
Part 3. Verify on GitHub
Refresh your repo page at https://github.com/<your-username>/techforge-setup.
You should see your files (like hello.py).
GitHub automatically renders README.md at the bottom.
Troubleshooting Quick Fixes
Git not found: Reinstall Git, then restart VS Code.