git 怎么看是fork分支还是主干

git remote -v

origin则为当前分支属性

原文地址:https://www.cnblogs.com/xinhua219/p/10953192.html