6. Working with GitHub
GitHub keeps an online copy of your repository. git remote add origin links it, and git push -u origin main uploads your commits. Never commit passwords or API keys.
Show example
git remote add origin https://github.com/you/your-repo.git
git push -u origin main