> Second, what is the command to switch branch ...
# help
a
Second, what is the command to switch branch if exists ? (The equivalent of git checkout)
Since there is no current branch, there is no "checkout" command. You could alias you way around
alias lakeco='export LAKECTL_BASE_URI=<lakefs://my-repo/$1>'
to get similar behaviour. (But it would not ensure that the branch exists)