Add validation

- Buffer is related to file
- File is git tracked