Refactor getChanges

- Rename to getModifiedFiles

- Add helper methods: getCommit and getFromCommit

Throw exceptions for the error cases:

- Local repo not found
- Invalid revision string