Fail fast
Many improvements

Avoid conflict open() with /usr/bin/open.
Less verbose, less commands.
Rename check_branch_existence() to branch_exists().
Open url doesn't belong to branch_exists().
Default code flow is success, not fail.
Merge pull request #6 from caruccio/mateus

My 2 cents