GitRepositoryServiceImpl API implementation provided and added test cases for the same. revert() API is pending