Add try-catch blocks and critical sections to wrap libgit functions in CGit::GetConfi...