[TASK] Fix travis builds

Due some regressions on side of travis
(https://github.com/travis-ci/travis-ci/issues/1710) an older git version
is used which doesn't support things like "--single-branch".

To avoid this, git is updated to latest version on the build server before
starting cloning

Change-Id: Ic5f698e84f378b9fed6bd64398b8058a20be860e
Resolves: #54369
Releases: 6.2, 6.1, 6.0, 4.7
Reviewed-on: https://review.typo3.org/26479
Reviewed-by: Markus Klein
Tested-by: Markus Klein