* refactoring merge getCommitByPath and getCommitBySha into one service commits
* code formatting