Order Of Operations
Local > remote
- Add the changed files
- commit the files
- push to repo
git add FILE_NAME
git commit -m "message"
git push origin main
Remote -> local
- Pull changes to local folder
git pull origin main
git add FILE_NAME
git commit -m "message"
git push origin main
git pull origin main