How to list a git repository’s all branches on the remote server? Posted on Mar 24, 2018 by Q A In QA I can list all local branches by git branch How to list a git repository’s all branches on the remote server? You need the -r option: git branch -r From the man page of git-branch. -r List or delete (if used with -d) the remote-tracking branches. Read more: Clearing Git History in Local and Remote Branches How to create a git branch on remote git server Git Deleting Remote Tags from the Git Server How to merge git branches quickly and correctly How to pull your git tree after creating it on remote server How to config Git remote server on Bitbucket or Github How to rename a branch name in the remote git server? What about the master branch for local git configuration in a git repository to make it track remote master branch?