top used git commands code example
Example: git commands
//initialize git
git init
//Connect with git live code
git remote add origin *Enter URL Here*
//Pull from origin main
git pull origin main
//Pull from origin master
git pull origin master
//To check status of changes
git status
//add all
git add .
//add fileA.css fileB.js
git add fileA.css fileB.js
//Commit changes
git commit -m "your commit on changes"
//Push to master
git push -u origin master