* feat: git discard changes * fixed cypress test in git connection * feat: add discardDocUrl and update casing * chore: update tests * chore: fix review comment Co-authored-by: haojin111 <haojin828@outlook.com>