getting current branch info instead of asking for an argument and prompting a confirmation before running deploy command