Type the command below to see, what all branches are there in remote.
$ git branch -r
origin/HEAD -> origin/master
origin/master
origin/optimize-cities
origin/optimize-merchants
origin/release-dec-30
origin/sso
origin/staging
Create the remote Staging branch in local and fetch code:
$ git checkout --track origin/staging
Author: Abhilash
Hi, Iโm Abhilash! A seasoned web developer with 15 years of experience specializing in Ruby and Ruby on Rails. Since 2010, Iโve built scalable, robust web applications and worked with frameworks like Angular, Sinatra, Laravel, Node.js, Vue and React.
Passionate about clean, maintainable code and continuous learning, I share insights, tutorials, and experiences here. Letโs explore the ever-evolving world of web development together!
View all posts by Abhilash