Fix problems with GIT