git support is extracted into module

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>