use deprecated set-upstream option for pre 1.8 versions of git