Andreas Schwab [off-list ref] writes:
On Jul 14 2020, Chris Torek wrote:
quoted
To work around this in all versions of Git, you can just be
more explicit. For instance:
git checkout deploy --
forces Git to treat it as a branch name.
For recent versions of git, you can also use `git switch deploy'.
Yes, that is the best piece of advice in the thread so far.
Thanks.