This reverts commit 1c78f703. Unfortunately some Linux distros use an ancient git version and this change requires git >= 2.10.