I have a very simply repository setup for testing but after a upgrade from 5.14 -> 6.8.1. the Test Connection returns an error. Below is the error from the logs
Failed to connect to repository (type: Git, location: https://git.xx.xxx/xxx/SimpleWebSite.git, time: 22.99 ms, errors: [Unknown option: -c
usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
[-p|--paginate|--no-pager] [--no-replace-objects]
[--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]
[--help] COMMAND [ARGS]])
The Git repository has no authentication and it points to the master branch. The error message seems to imply that the function that get calls is not working correctly.