Download and install the plugin using the Plugin Manager using the URL given above. Refer to Plugins on how to install plugins manually.
First you need to configure the config.inc.php (plugin directory)
After that you can display the last log messages via
<dokugitviewer:repository=yourrepository.git>
You can limit the amount of display messages (default=10)
<dokugitviewer:repository=yourrepository.git limit=7>
If your repository is a bare 1) repository you need another option
<dokugitviewer:repository=yourrepository.git limit=7 bare=1>
The special feature “creating links for bug-id/feature-id” is described here: http://github.com/tuomasj/dokugitviewer#readme