# Order Of Operations

### Local &gt; remote

1. Add the changed files
2. commit the files
3. push to repo

```bash
git add FILE_NAME
git commit -m "message"
git push origin main
```

### Remote -&gt; local

1. Pull changes to local folder

```bash
git pull origin main
```