Import GIT as late as possible