git reset one file to master code example
Example 1: git reset file to master
git checkout origin/master [filename]
Example 2: 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
```