git status frequently to understand what's happening in your repository. It's your best friend for staying oriented!
git init. It turns your folder into a Git project.
git checkout -- filename brings back the last saved version.
git checkout -b feature-name to keep the master/main branch clean.
fix-login-bug or feat-payment-api are easy to track.
git remote add origin URL.
git pull before starting any modifications to fetch team updates and avoid conflicts.
Starting with a local project and pushing to GitHub
Starting with an existing GitHub repository
Working with team members on shared repository
README.md description block to your remote repo—it serves as the landing page homepage.