When I type
git branch -avv
it shows me the list of all branches: local and remote ones
git branch -avv
master 2fa4d6c [origin/master] RT92026 Modified 'update' for the STM32F429 Discovery to use 'image'. Removed 'eimage'.
remotes/origin/HEAD -> origin/master
remotes/origin/master 2fa4d6c RT92026 Modified 'update' for the STM32F429 Discovery to use 'image'. Removed 'eimage'.
remotes/origin/zpm 37aadc6 Change bootargs to use rootfs at mtdblock2
remotes/origin/zpm_16MB 1f82630 fixed error in macro concatenations with just hardcoded values
remotes/origin/zpm_dev 115d973 changed CONFIG_LPC178X_PLL0_PSEL to 1
remotes/origin/zpm_pulse cd2f813 changes for 16MB RAM
The question is - can I get remote branch remotes/origin/zpm_pulse if remote repository is not available anymore and I have only local copy? (no branch was set to origin/zpm_pulse).
So when I create a local branch zpm_pulse and bind it to upstream one it says:
2fa4d6c [origin/zpm_pulse: behind 27] RT92026 Modified 'update' for the STM32F429 Discovery to use 'image'. Removed 'eimage'.
And after that of course I can't fetch from origin because origin is no more. So maybe git stores remote branches somewhere inside?