- create-branch repository name target #!optional forceprocedure
Creates a new branch in the given repository of the given name and target and returns a reference to the new branch. target must be a commit or tag belonging to the repository. If a branch of the given name exists and force is not given or #f, an error is signalled. Otherwise, creation is forced and the old branch is be overwritten.
On success, the on-disk repository is updated immediately.