Removed DLLImport calls, and manually load / unload git2.dll with kernel32.dll

Signed-off-by: Jerome Doby <xaerodegreaz@gmail.com>