Introduce CGit::GetConfigValueInt32()

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
diff.context can be 0, so use -1 to indicate default value

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>