Started a new repo in Github online. Agreed to have also a gh-pages branch for a website related to the repo.
Fetched the repo locally with Github Desktop (GD) and it shows correctly two branches (master and gh-pages) in ‘Current branch’ dropdown.
Somehow Github Desktop decided that I should have both branches in the same local folder. Which is a really bad idea, the two contents are completely different - one is a code library, the other is a website! In order to “accommodate” me GD is “stashing” the entire folder every time I switch between the two branches. What?
Yes, it gives me one or the other, but can’t have both at the same time. Kind of a hostage situation. Have to rely on GD to provide my files, can’t backup, can’t see/edit the two branches at the same time - a mess!
Is there a way to instruct Github Desktop to save (and keep!) master and gh-pages branches in their own separate disk folders ?
Secondary (less important) question: how could one fall in this trap ? What instruction did I miss, overlooked or did not follow?
(Environment is Github Desktop Version 2.6.3 on Windows 10 Pro.)