how to see remote branch git
git remote show origin
How do I check out a remote Git branch?
In this case, you probably want to create a local test branch which is tracking the remote test branch:
$ git branch test origin/test
In earlier versions of git, you needed an explicit --track option, but that is the default now when you are branching off a remote branch.
To create the local branch and switch to it, use:
$ git checkout -b test origin/test
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us