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