In case you can’t fetch the staging
branch, execute this command from the app’s directory:
git config remote.upstream.fetch "+refs/heads/*:refs/remotes/upstream/*"
This will configure git
to fetch all branches from upstream
.
Then run git fetch upstream
to fetch staging
branch.