Fixes problems with GIT