This code is now unnecessary if the user already specified the branch name. Please relocate it into the `if` statement as well