git restore 1 file to master code example
Example: git revert file to master
## Revert file to master
If you want to revert the file to its state in master
```bash
git checkout origin/master thefile
```
## Revert file to master
If you want to revert the file to its state in master
```bash
git checkout origin/master thefile
```