https://stackoverflow.com/questions/49343025/git-push-all-vs-mirror
--all
Push all branches (i.e. refs under refs/heads/); cannot be used with other <refspec>.
--mirror
... specifies that all refs under refs/ (which includes but is not limited to refs/heads/, refs/remotes/, and refs/tags/) be mirrored ...
zqy@ubuntu:~/WorkShop/golang/src/yunhuan_mylib/.git/refs$ ls
heads remotes tags
zqy@ubuntu:~/WorkShop/golang/src/yunhuan_mylib/.git/refs/heads$ ls
buildService master snmpconn
zqy@ubuntu:~/WorkShop/golang/src/yunhuan_mylib/.git/refs/remotes$ ls
origin
zqy@ubuntu:~/WorkShop/golang/src/yunhuan_mylib/.git/refs/tags$ ls
(null)