added in functionality to handle branches arg better; taking away local branch arg and creating sensible error behavior when no branch is passed