有两种方式:① 查看 .git/config 的内容:[remote "origin"]fetch = +refs/heads/*:refs/remotes/origin/*url = server:gitRepo.git ② 使用 git remote -v 命令