xyz@abc test-repo % git remote -v
origin https://gitee.com/username/test-repo.git (fetch)
origin https://gitee.com/username/test-repo.git (push)
$ git config credential.helper
osxkeychain
可以看到是保存在macos的keychain这个app里面的,只要在mac上打开keychain这个系统应用,然后搜索git(包含那个网站URL的关键字)就可以查看/修改啦。