Added support for branches.
Updated.