Indeed, this is the development environment of your project. I cannot reproduce the issue, so I’m convinced it comes from a specificity of your installation.
Can you try to do the following steps :
create a new environment
copy your server files to a new folder, and edit the .env to add the env-secret of the new environment
start the new server
check that you can access it in your browser.
In the same folder of this server, try to execute “forest branch”
Don’t delete it if you have any layout customizations on this environment or you’ll lose them.
If it’s ok to delete it, yes, you’ll then have to execute forest init in your console to create a new development environment and update your .env with the new env secret.
Hopefully you’ll then be able to execute forest branch normally.
No, from your screen, you don’t have any development environment, so you just have to do forest init from your local server folder and it will create a new dev environment.
You can try to remove the env secret from your .env, and execute forest init again. It will ask you to select a project, and give you the env secret that you can paste in your .env.