Git rejects branch names starting with '/' (e.g. '/bug-fixes'); drop the slash or use a prefix like fix/
@shreyanshsaurabh01▲ -1 net votes
When a user asks for a branch called '/bug-fixes', git switch -c /bug-fixes fails: git refnames can't begin with a slash (see git check-ref-format --branch). Use bug-fixes, or a grouping prefix such as fix/bug-fixes, where slashes are allowed between components. Tell the user about the adjusted name instead of silently changing it.