Last stuff
Fix compile
Fix possible resource leaks

Signed-off-by: Sven Strickroth <email@cs-ware.de>
make everything work
more fixes

Conflicts:
	src/Git/Git.cpp
fixed typo
no need to open new repo while we have a repo instance
more optimizations
check return value!
make it work