Closed
Description
libgit2 exposes a helper function to check a branch name validity: https://libgit2.org/libgit2/#HEAD/group/branch/git_branch_name_is_valid
lets run this against the input before it gets confirmed.
this way we can give live feedback to the user whether the name is valid.