Improve javadoc of Git class

Likely the first class javadoc to be read, make it easy to read and use.