Added branch selection

Added posibility to select branch on the repository with the help of the
-b flag.