以下のようにする。この例だとブランチがmasterしかないからわかりにくいかもしれないけど、ブランチが増えると各ブランチがどこにつながっているかがわかる。
$ git remote show origin
* remote origin
Fetch URL: hoge@hoge/hoge.git
Push URL: hoge@hoge/hoge.git
HEAD branch:
master
Remote branches:
master tracked
Local branches configured for 'git pull':
master merges with remote master
Local refs configured for 'git push':
master pushes to master (up to date)
Local branches configured for 'git pull'
のところと
Local refs configured for 'git push'
のところが自分が知りたいところ。