Refactoring to meld RepositoryService into Grgit.
Adding documentation to the Grgit class.